Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7820)

Unified Diff: chrome/common/service_process_util.h

Issue 2514113003: Revert of Require FilePathWatcher destructor to be called in sequence with Watch(). (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/service_process_util.h
diff --git a/chrome/common/service_process_util.h b/chrome/common/service_process_util.h
index c264742c9c6c71565f5669027b61973d3f4a8e8a..2c20ec0c7d51624b2f45d017d389dcb178c56596 100644
--- a/chrome/common/service_process_util.h
+++ b/chrome/common/service_process_util.h
@@ -9,10 +9,8 @@
#include <string>
#include "base/callback_forward.h"
-#include "base/memory/ref_counted.h"
#include "base/memory/shared_memory.h"
#include "base/process/process.h"
-#include "base/single_thread_task_runner.h"
#include "build/build_config.h"
#include "mojo/edk/embedder/named_platform_handle.h"
#include "mojo/edk/embedder/scoped_platform_handle.h"
@@ -29,6 +27,7 @@
namespace base {
class CommandLine;
+class SingleThreadTaskRunner;
}
// Return the IPC channel to connect to the service process.
@@ -92,7 +91,7 @@
// process (in the same thread that called SignalReady). It can be NULL.
// |task_runner| must be of type IO and is the loop that POSIX uses
// to monitor the service process.
- bool SignalReady(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
+ bool SignalReady(base::SingleThreadTaskRunner* task_runner,
const base::Closure& terminate_task);
// Signal that the service process is stopped.
« no previous file with comments | « chrome/browser/media_galleries/fileapi/picasa_data_provider.cc ('k') | chrome/common/service_process_util_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698