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

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 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/resources/options/browser_options.js ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_init.h
===================================================================
--- chrome/browser/ui/browser_init.h (revision 114230)
+++ chrome/browser/ui/browser_init.h (working copy)
@@ -18,6 +18,7 @@
class Browser;
class CommandLine;
class GURL;
+class PrefService;
class TabContentsWrapper;
// class containing helpers for BrowserMain to spin up a new instance and
@@ -62,6 +63,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.
@@ -224,6 +227,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_;
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698