| 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);
|
|
|