Chromium Code Reviews| Index: chrome/browser/ui/startup/startup_browser_creator_impl.h |
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.h b/chrome/browser/ui/startup/startup_browser_creator_impl.h |
| index 3fbaa104ffac85c727760d735adda55bbcb78eca..8eb556ee37d9a1f19d30572ed9235f33e1c17bad 100644 |
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.h |
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.h |
| @@ -29,6 +29,7 @@ class WebContents; |
| } |
| namespace internals { |
| +GURL GetResetSettingsURL(); |
| GURL GetWelcomePageURL(); |
| } // namespace internals |
| @@ -145,6 +146,10 @@ class StartupBrowserCreatorImpl { |
| // Adds additional startup URLs to the specified vector. |
| void AddStartupURLs(std::vector<GURL>* startup_urls) const; |
| + // Adds special URLs to the specified vector. These URLs are triggered by |
| + // special-case logic, such as profile reset or a new wecome page. |
|
grt (UTC plus 2)
2015/09/04 18:35:48
it's not clear what "new welcome page" means. how
robertshield
2015/09/04 20:27:18
Done.
|
| + void AddSpecialURLs(std::vector<GURL>* startup_urls) const; |
| + |
| // Initializes |welcome_run_type_| for this launch. Also persists state to |
| // suppress injecting the welcome page for future launches. |
| void InitializeWelcomeRunType(const std::vector<GURL>& urls_to_open); |
| @@ -152,6 +157,8 @@ class StartupBrowserCreatorImpl { |
| // Record Rappor metrics on startup URLs. |
| void RecordRapporOnStartupURLs(const std::vector<GURL>& urls_to_open); |
| + bool ProfileHasResetTrigger() const; |
| + |
| const base::FilePath cur_dir_; |
| const base::CommandLine& command_line_; |
| Profile* profile_; |