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

Unified Diff: chrome/common/service_process_util.h

Issue 6591002: Removed the command line from ServiceProcessState::AddToAutoRun() and had the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Scott's review comments addressed Created 9 years, 10 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/common/auto_start_linux.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util.h
===================================================================
--- chrome/common/service_process_util.h (revision 75945)
+++ chrome/common/service_process_util.h (working copy)
@@ -80,7 +80,7 @@
void SignalStopped();
// Register the service process to run on startup.
- bool AddToAutoRun(CommandLine* command_line);
+ bool AddToAutoRun();
// Unregister the service process to run on startup.
bool RemoveFromAutoRun();
@@ -111,11 +111,16 @@
// Tear down the platform specific state.
void TearDownState();
+ // Initializes the command-line that can be used to autorun the service
+ // process.
+ void CreateAutoRunCommandLine();
+
// An opaque object that maintains state. The actual definition of this is
// platform dependent.
struct StateData;
StateData* state_;
scoped_ptr<base::SharedMemory> shared_mem_service_data_;
+ scoped_ptr<CommandLine> autorun_command_line_;
friend struct DefaultSingletonTraits<ServiceProcessState>;
};
« no previous file with comments | « chrome/common/auto_start_linux.cc ('k') | chrome/common/service_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698