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

Unified Diff: chrome/common/auto_start_linux.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/auto_start_linux.h
===================================================================
--- chrome/common/auto_start_linux.h (revision 75945)
+++ chrome/common/auto_start_linux.h (working copy)
@@ -20,7 +20,13 @@
bool is_terminal_app);
// Removes an autostart file.
static bool Remove(const std::string& autostart_filename);
-
+ // Gets the entire contents of an autostart file.
+ static bool GetAutostartFileContents(const std::string& autostart_filename,
+ std::string* contents);
+ // Gets a specific value from an autostart file.
+ static bool GetAutostartFileValue(const std::string& autostart_filename,
+ const std::string& value_name,
+ std::string* value);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(AutoStart);
};

Powered by Google App Engine
This is Rietveld 408576698