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..d0bd9dd363e9340f148bd2eaeda110d631e6f806 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,11 @@ 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 presentation of the welcome |
+ // page. |
+ 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 +158,10 @@ class StartupBrowserCreatorImpl { |
// Record Rappor metrics on startup URLs. |
void RecordRapporOnStartupURLs(const std::vector<GURL>& urls_to_open); |
+ // Checks whether |profile_| has a reset trigger set and then clears the |
+ // reset trigger. |
+ bool CheckAndClearProfileResetTrigger() const; |
+ |
const base::FilePath cur_dir_; |
const base::CommandLine& command_line_; |
Profile* profile_; |