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

Unified Diff: chrome/browser/first_run/first_run.h

Issue 9153008: Progressively refacto FirstRun class to first_run namespace(part 4). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | « no previous file | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.h
diff --git a/chrome/browser/first_run/first_run.h b/chrome/browser/first_run/first_run.h
index fe541de77053a4dc588401f6aa48faef105c7911..2da758d8fa0ea34ad20fd8d4f963b700375423a4 100644
--- a/chrome/browser/first_run/first_run.h
+++ b/chrome/browser/first_run/first_run.h
@@ -70,6 +70,14 @@ bool SetShowWelcomePagePref();
// Returns false if the pref could not be set.
bool SetPersonalDataManagerFirstRunPref();
+// Sets the kShouldUseOEMFirstRunBubble local state pref so that the
+// browser shows the OEM first run bubble once the main message loop
+// gets going. Returns false if the pref could not be set.
+bool SetOEMFirstRunBubblePref();
+
+// Whether the search engine selection dialog should be shown on first run.
+bool ShouldShowSearchEngineSelector(const TemplateURLService* model);
+
// -- Platform-specific functions --
// Automatically import history and home page (and search engine, if
@@ -89,6 +97,9 @@ void AutoImport(Profile* profile,
// cmdline parameters.
int ImportNow(Profile* profile, const CommandLine& cmdline);
+// Returns the path for the master preferences file.
+FilePath MasterPrefsPath();
+
} // namespace first_run
// This class contains the chrome first-run installation actions needed to
@@ -141,19 +152,6 @@ class FirstRun {
static bool ProcessMasterPreferences(const FilePath& user_data_dir,
MasterPrefs* out_prefs);
- // Sets the kShouldUseOEMFirstRunBubble local state pref so that the
- // browser shows the OEM first run bubble once the main message loop
- // gets going. Returns false if the pref could not be set.
- static bool SetOEMFirstRunBubblePref();
-
- // Whether the search engine selection dialog should be shown on first run.
- static bool ShouldShowSearchEngineSelector(const TemplateURLService* model);
-
- // -- Platform-specific functions --
-
- // Returns the path for the master preferences file.
- static FilePath MasterPrefsPath();
-
private:
friend class FirstRunTest;
FRIEND_TEST_ALL_PREFIXES(Toolbar5ImporterTest, BookmarkParse);
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698