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

Unified Diff: chrome/browser/history/chrome_history_client_factory.h

Issue 631253002: Refactor sending NOTIFICATION_HISTORY_URL_VISITED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests on Android Created 6 years, 2 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
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:
« no previous file with comments | « chrome/browser/history/chrome_history_client.cc ('k') | chrome/browser/history/chrome_history_client_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698