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

Unified Diff: chrome/browser/webdata/web_data_service_factory.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/ui/webui/options/preferences_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_data_service_factory.cc
diff --git a/chrome/browser/webdata/web_data_service_factory.cc b/chrome/browser/webdata/web_data_service_factory.cc
index 81b1dee818e53eb1dfc9495c556baeddcf4f5824..6b7bd1516eba6353780deebce28481ba1796cbd3 100644
--- a/chrome/browser/webdata/web_data_service_factory.cc
+++ b/chrome/browser/webdata/web_data_service_factory.cc
@@ -11,7 +11,7 @@
#include "chrome/common/chrome_constants.h"
// static
-scoped_ptr<AutofillWebDataService> AutofillWebDataService::ForContext(
+scoped_ptr<AutofillWebDataService> AutofillWebDataService::FromBrowserContext(
content::BrowserContext* context) {
// For this service, the implicit/explicit distinction doesn't
// really matter; it's just used for a DCHECK. So we currently
@@ -41,7 +41,7 @@ scoped_refptr<WebDataService> WebDataServiceFactory::GetForProfile(
Profile* profile, Profile::ServiceAccessType access_type) {
// If |access_type| starts being used for anything other than this
// DCHECK, we need to start taking it as a parameter to
- // AutofillWebDataServiceImpl::ForContext (see above).
+ // AutofillWebDataServiceImpl::FromBrowserContext (see above).
DCHECK(access_type != Profile::IMPLICIT_ACCESS || !profile->IsOffTheRecord());
return static_cast<WebDataService*>(
GetInstance()->GetServiceForProfile(profile, true).get());
« no previous file with comments | « chrome/browser/ui/webui/options/preferences_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698