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

Unified Diff: chrome/browser/autofill/autofill_manager_unittest.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
« no previous file with comments | « chrome/browser/autofill/autofill_download.cc ('k') | chrome/browser/autofill/autofill_metrics_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index 01301d50241b0fca0f900411d352b161a58c1067..8395a1226aaad1e7d5e56ef211412187fe46d775 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -2623,7 +2623,7 @@ TEST_F(AutofillManagerTest, FormSubmittedWithDefaultValues) {
// Checks that resetting the auxiliary profile enabled preference does the right
// thing on all platforms.
TEST_F(AutofillManagerTest, AuxiliaryProfilesReset) {
- PrefServiceBase* prefs = PrefServiceBase::ForContext(profile());
+ PrefServiceBase* prefs = PrefServiceBase::FromBrowserContext(profile());
#if defined(OS_MACOSX)
// Auxiliary profiles is implemented on Mac only. It enables Mac Address
// Book integration.
@@ -2919,7 +2919,7 @@ TEST_F(AutofillManagerTest, DeterminePossibleFieldTypesForUpload) {
}
TEST_F(AutofillManagerTest, UpdatePasswordSyncState) {
- PrefServiceBase* prefs = PrefServiceBase::ForContext(profile());
+ PrefServiceBase* prefs = PrefServiceBase::FromBrowserContext(profile());
// Allow this test to control what should get synced.
prefs->SetBoolean(prefs::kSyncKeepEverythingSynced, false);
@@ -2977,7 +2977,7 @@ TEST_F(AutofillManagerTest, UpdatePasswordSyncState) {
}
TEST_F(AutofillManagerTest, UpdatePasswordGenerationState) {
- PrefServiceBase* prefs = PrefServiceBase::ForContext(profile());
+ PrefServiceBase* prefs = PrefServiceBase::FromBrowserContext(profile());
// Always set password sync enabled so we can test the behavior of password
// generation.
« no previous file with comments | « chrome/browser/autofill/autofill_download.cc ('k') | chrome/browser/autofill/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698