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

Unified Diff: chrome/browser/webdata/token_web_data.h

Issue 16154031: Un-refcount AutofillWebData and TokenWebData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT Created 7 years, 6 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/sync/test/integration/autofill_helper.cc ('k') | chrome/browser/webdata/token_web_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/token_web_data.h
diff --git a/chrome/browser/webdata/token_web_data.h b/chrome/browser/webdata/token_web_data.h
index f74f230da9aa832d31c7da726c78c418a802ddb7..9666621a0ca8a14138d403b82369f6f0c557f3ac 100644
--- a/chrome/browser/webdata/token_web_data.h
+++ b/chrome/browser/webdata/token_web_data.h
@@ -35,12 +35,13 @@ class BrowserContext;
class TokenWebData : public WebDataServiceBase {
public:
// Retrieve a WebDataService for the given context.
- static scoped_refptr<TokenWebData> FromBrowserContext(
- content::BrowserContext* context);
+ static TokenWebData* FromBrowserContext(content::BrowserContext* context);
TokenWebData(scoped_refptr<WebDatabaseService> wdbs,
const ProfileErrorCallback& callback);
+ virtual ~TokenWebData();
+
// Set a token to use for a specified service.
void SetTokenForService(const std::string& service,
const std::string& token);
@@ -55,8 +56,6 @@ class TokenWebData : public WebDataServiceBase {
// For unit tests, passes a null callback.
TokenWebData();
- virtual ~TokenWebData();
-
private:
scoped_refptr<TokenWebDataBackend> token_backend_;
« no previous file with comments | « chrome/browser/sync/test/integration/autofill_helper.cc ('k') | chrome/browser/webdata/token_web_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698