12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- // Copyright 2021 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
- // On Fuchsia, we assume that the Component Framework ensures that only a single
- // Chrome component instance will run against a particular data-directory.
- // This file contains a stubbed-out ProcessSingleton implementation. :)
- //
- // In future we will need to support a mechanism for URL launch attempts to
- // be handled by a running Chrome instance, e.g. by registering the instance as
- // the Runner for HTTP[S] component URLs.
- #include "chrome/browser/process_singleton.h"
- ProcessSingleton::ProcessSingleton(
- const base::FilePath& user_data_dir,
- const NotificationCallback& notification_callback) {}
- ProcessSingleton::~ProcessSingleton() {
- DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
- }
- ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcess() {
- // TODO(crbug.com/1235293)
- NOTIMPLEMENTED_LOG_ONCE();
- return PROCESS_NONE;
- }
- ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() {
- // TODO(crbug.com/1235293)
- NOTIMPLEMENTED_LOG_ONCE();
- return PROCESS_NONE;
- }
- bool ProcessSingleton::Create() {
- // TODO(crbug.com/1235293)
- NOTIMPLEMENTED_LOG_ONCE();
- return true;
- }
- void ProcessSingleton::StartWatching() {
- // TODO(crbug.com/1235293)
- NOTIMPLEMENTED_LOG_ONCE();
- }
- void ProcessSingleton::Cleanup() {
- // TODO(crbug.com/1235293)
- NOTIMPLEMENTED_LOG_ONCE();
- }
|