Index: chrome/browser/history/chrome_history_client_factory.h |
diff --git a/chrome/browser/history/chrome_history_client_factory.h b/chrome/browser/history/chrome_history_client_factory.h |
index 28adc7ee432e92c2ebbbf77e798ff904071ae7d0..01eb7f479890c9cfe7b2fe19c5a70b55abe84320 100644 |
--- a/chrome/browser/history/chrome_history_client_factory.h |
+++ b/chrome/browser/history/chrome_history_client_factory.h |
@@ -19,6 +19,11 @@ class ChromeHistoryClientFactory : public BrowserContextKeyedServiceFactory { |
public: |
static ChromeHistoryClient* GetForProfile(Profile* profile); |
+ // TODO(sdefresne): remove this once ChromeHistoryClient is no longer an |
+ // HistoryServiceObserver and can follow the regular shutdown even during |
+ // tests. |
+ static ChromeHistoryClient* GetForProfileWithoutCreating(Profile* profile); |
+ |
static ChromeHistoryClientFactory* GetInstance(); |
private: |