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

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

Issue 12851008: Create a common base class for all the webdatas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Override base methods so AutofillWebData properly delegates to WDS 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/api/webdata/autofill_web_data_service.h
diff --git a/chrome/browser/api/webdata/autofill_web_data_service.h b/chrome/browser/api/webdata/autofill_web_data_service.h
index ee39ad72d3fd63234983ec00ba6fafa7cbcbe5db..334daf21a58289f175968915d3df2d8b1e602718 100644
--- a/chrome/browser/api/webdata/autofill_web_data_service.h
+++ b/chrome/browser/api/webdata/autofill_web_data_service.h
@@ -19,9 +19,10 @@ class AutofillWebDataService
// Retrieve an AutofillWebDataService for the given context.
//
// Can return NULL in some contexts.
- static scoped_ptr<AutofillWebDataService> FromBrowserContext(
+ static scoped_refptr<AutofillWebDataService> FromBrowserContext(
content::BrowserContext* context);
+ protected:
virtual ~AutofillWebDataService() {}
};

Powered by Google App Engine
This is Rietveld 408576698