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

Unified Diff: ios/chrome/browser/suggestions/suggestions_service_factory.mm

Issue 964403002: Upstream BrowserState::GetStatePath() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix client code Created 5 years, 10 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
« no previous file with comments | « no previous file | ios/web/public/browser_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/suggestions/suggestions_service_factory.mm
diff --git a/ios/chrome/browser/suggestions/suggestions_service_factory.mm b/ios/chrome/browser/suggestions/suggestions_service_factory.mm
index efd35e5ba21a1fa0b28e348d769a2af585877fd7..400ff1316763be71de493a3c24f6ba532158d544 100644
--- a/ios/chrome/browser/suggestions/suggestions_service_factory.mm
+++ b/ios/chrome/browser/suggestions/suggestions_service_factory.mm
@@ -59,7 +59,7 @@ KeyedService* SuggestionsServiceFactory::BuildServiceInstanceFor(
ios::ChromeBrowserState* chrome_browser_state =
ios::ChromeBrowserState::FromBrowserState(browser_state);
base::FilePath database_dir(
- chrome_browser_state->GetPath().Append(kThumbnailDirectory));
+ chrome_browser_state->GetStatePath().Append(kThumbnailDirectory));
scoped_ptr<SuggestionsStore> suggestions_store(
new SuggestionsStore(chrome_browser_state->GetPrefs()));
scoped_ptr<BlacklistStore> blacklist_store(
« no previous file with comments | « no previous file | ios/web/public/browser_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698