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

Unified Diff: chrome/browser/autofill/autocomplete_history_manager.cc

Issue 10956034: Switching from ForXyz naming to FromXyz naming, for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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/autofill/autocomplete_history_manager.cc
diff --git a/chrome/browser/autofill/autocomplete_history_manager.cc b/chrome/browser/autofill/autocomplete_history_manager.cc
index bc2cd2dc0834f6c4b6c5906fa9377cf183166c25..831cce47aae64cab362874368999bda251770e5c 100644
--- a/chrome/browser/autofill/autocomplete_history_manager.cc
+++ b/chrome/browser/autofill/autocomplete_history_manager.cc
@@ -116,9 +116,9 @@ AutocompleteHistoryManager::AutocompleteHistoryManager(
external_delegate_(NULL) {
browser_context_ = web_contents->GetBrowserContext();
// May be NULL in unit tests.
- autofill_data_ = AutofillWebDataService::ForContext(browser_context_);
+ autofill_data_ = AutofillWebDataService::FromBrowserContext(browser_context_);
autofill_enabled_.Init(prefs::kAutofillEnabled,
- PrefServiceBase::ForContext(browser_context_),
+ PrefServiceBase::FromBrowserContext(browser_context_),
NULL);
}
@@ -246,7 +246,7 @@ AutocompleteHistoryManager::AutocompleteHistoryManager(
query_id_(0),
external_delegate_(NULL) {
autofill_enabled_.Init(prefs::kAutofillEnabled,
- PrefServiceBase::ForContext(browser_context_),
+ PrefServiceBase::FromBrowserContext(browser_context_),
NULL);
}
« no previous file with comments | « chrome/browser/api/webdata/autofill_web_data_service.h ('k') | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698