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

Unified Diff: chrome/browser/api/webdata/web_data_service_base.h

Issue 10919066: Use BrowserContext as key in API. Switch Autofill to use BC in place of Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/webdata/web_data_service_base.h
diff --git a/chrome/browser/api/webdata/web_data_service_base.h b/chrome/browser/api/webdata/web_data_service_base.h
index 88b3084b422fc7d81af1c0eb385290b4fea70a05..b1bfb49bee6552ac2a75b7535779e4b5da18371d 100644
--- a/chrome/browser/api/webdata/web_data_service_base.h
+++ b/chrome/browser/api/webdata/web_data_service_base.h
@@ -7,12 +7,15 @@
#include "chrome/browser/profiles/refcounted_profile_keyed_service.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
// Base for WebDataService class hierarchy.
class WebDataServiceBase : public RefcountedProfileKeyedService {
public:
- static scoped_refptr<WebDataServiceBase> ForProfile(Profile* profile);
+ static scoped_refptr<WebDataServiceBase> ForContext(
+ content::BrowserContext* profile);
// All requests return an opaque handle of the following type.
typedef int Handle;

Powered by Google App Engine
This is Rietveld 408576698