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

Side by Side Diff: chrome/browser/api/webdata/autofill_web_data_service.h

Issue 12805007: wd5-syncableServices for try only (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wd5-syncableServices with debug test fix Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/api/webdata/web_data_service_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_ 5 #ifndef CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_
6 #define CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_ 6 #define CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_
7 7
8 #include "chrome/browser/api/webdata/autofill_web_data.h" 8 #include "chrome/browser/api/webdata/autofill_web_data.h"
9 9
10 namespace content { 10 namespace content {
11 class BrowserContext; 11 class BrowserContext;
12 } 12 }
13 13
14 // API for Autofill web data. 14 // API for Autofill web data.
15 class AutofillWebDataService 15 class AutofillWebDataService
16 : public AutofillWebData, 16 : public AutofillWebData,
17 public WebDataServiceBase { 17 public WebDataServiceBase {
18 public: 18 public:
19 // TODO(joi): This should take a ProfileErrorCallback once this
20 // class doesn't simply delegate to WebDataService.
21 AutofillWebDataService();
22
19 // Retrieve an AutofillWebDataService for the given context. 23 // Retrieve an AutofillWebDataService for the given context.
20 // 24 //
21 // Can return NULL in some contexts. 25 // Can return NULL in some contexts.
22 static scoped_ptr<AutofillWebDataService> FromBrowserContext( 26 static scoped_refptr<AutofillWebDataService> FromBrowserContext(
23 content::BrowserContext* context); 27 content::BrowserContext* context);
24 28
29 protected:
25 virtual ~AutofillWebDataService() {} 30 virtual ~AutofillWebDataService() {}
26 }; 31 };
27 32
28 #endif // CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_ 33 #endif // CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/api/webdata/web_data_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698