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

Unified Diff: chrome/browser/ui/browser_init.h

Issue 8729009: Implement an AutoLaunch experiment for Chrome for certain brand codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/browser/ui/browser_init.h
===================================================================
--- chrome/browser/ui/browser_init.h (revision 111708)
+++ chrome/browser/ui/browser_init.h (working copy)
@@ -18,6 +18,7 @@
class CommandLine;
class GURL;
class Profile;
+class PrefService;
class TabContentsWrapper;
// class containing helpers for BrowserMain to spin up a new instance and
@@ -69,6 +70,8 @@
// Returns true if the browser is coming up.
static bool InProcessStartup();
+ static void RegisterUserPrefs(PrefService* prefs);
+
// Launches a browser window associated with |profile|. |command_line| should
// be the command line passed to this process. |cur_dir| can be empty, which
// implies that the directory of the executable should be used.
@@ -226,6 +229,9 @@
// previously instructed not to do so) and warns the user if it is not.
void CheckDefaultBrowser(Profile* profile);
+ // Checks whether Chrome was auto-started at login.
+ void CheckIfAutoLaunched(Profile* profile);
+
const FilePath cur_dir_;
const CommandLine& command_line_;
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698