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

Unified Diff: chrome/browser/process_singleton.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.h ('k') | chrome/browser/process_singleton_modal_dialog_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton.h
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
index f0e6b723a5baa6ab955c1e8f766b8fc7710144b9..8fc9730f7e3ed9c82a3d83f1cf2403ffe1cd98b5 100644
--- a/chrome/browser/process_singleton.h
+++ b/chrome/browser/process_singleton.h
@@ -32,7 +32,9 @@
#include "base/win/message_window.h"
#endif // defined(OS_WIN)
+namespace base {
class CommandLine;
+}
// ProcessSingleton ----------------------------------------------------------
//
@@ -60,7 +62,7 @@ class ProcessSingleton : public base::NonThreadSafe {
// handled within the current browser instance or false if the remote process
// should handle it (i.e., because the current process is shutting down).
typedef base::Callback<bool(
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
const base::FilePath& current_directory)> NotificationCallback;
ProcessSingleton(const base::FilePath& user_data_dir,
@@ -101,11 +103,12 @@ class ProcessSingleton : public base::NonThreadSafe {
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
// Exposed for testing. We use a timeout on Linux, and in tests we want
// this timeout to be short.
- NotifyResult NotifyOtherProcessWithTimeout(const CommandLine& command_line,
- int timeout_seconds,
- bool kill_unresponsive);
+ NotifyResult NotifyOtherProcessWithTimeout(
+ const base::CommandLine& command_line,
+ int timeout_seconds,
+ bool kill_unresponsive);
NotifyResult NotifyOtherProcessWithTimeoutOrCreate(
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
int timeout_seconds);
void OverrideCurrentPidForTesting(base::ProcessId pid);
void OverrideKillCallbackForTesting(
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.h ('k') | chrome/browser/process_singleton_modal_dialog_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698