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

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: '' 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
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,15 @@
// Tear down the platform specific state.
void TearDownState();
+ // Initializes the command-line that can be used to autorun the service
+ // process.
+ void CreateAutoRunCommandLine();
Scott Byer 2011/02/25 18:19:24 nit: space before member vars
sanjeevr 2011/02/25 18:22:55 Done.
// 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>;
};

Powered by Google App Engine
This is Rietveld 408576698