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

Unified Diff: chrome/browser/api/sync/profile_sync_service_base.h

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/api/sync/profile_sync_service_base.h
diff --git a/chrome/browser/api/sync/profile_sync_service_base.h b/chrome/browser/api/sync/profile_sync_service_base.h
index 60fd40d07c37154e6dd10db632e6fadc5485af5f..f404bcb56825fda6cf59965f1eb374b397ef8ef1 100644
--- a/chrome/browser/api/sync/profile_sync_service_base.h
+++ b/chrome/browser/api/sync/profile_sync_service_base.h
@@ -17,7 +17,8 @@ class ProfileSyncServiceBase {
public:
// Retrieve the sync service to use in the given context.
// Returns NULL if sync is not enabled for the context.
- static ProfileSyncServiceBase* ForContext(content::BrowserContext* context);
+ static ProfileSyncServiceBase* FromBrowserContext(
+ content::BrowserContext* context);
typedef ProfileSyncServiceObserver Observer;
« no previous file with comments | « chrome/browser/api/prefs/pref_service_base.h ('k') | chrome/browser/api/webdata/autofill_web_data_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698