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

Unified Diff: components/webdata/common/web_data_service_test_util.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
Index: components/webdata/common/web_data_service_test_util.h
diff --git a/components/webdata/common/web_data_service_test_util.h b/components/webdata/common/web_data_service_test_util.h
index 4f0f6e577eaa78ba9fbc44192f03513e235fc588..6fb3b63f3aabb84d35c62a77e518b0e92c474bbd 100644
--- a/components/webdata/common/web_data_service_test_util.h
+++ b/components/webdata/common/web_data_service_test_util.h
@@ -58,21 +58,20 @@ class MockWebDataServiceWrapper : public MockWebDataServiceWrapperBase {
public:
MockWebDataServiceWrapper(
scoped_refptr<WebDataService> fake_service,
- scoped_refptr<autofill::AutofillWebDataService> fake_autofill,
- scoped_refptr<TokenWebData> fake_token);
+ autofill::AutofillWebDataService* fake_autofill,
+ TokenWebData* fake_token);
virtual ~MockWebDataServiceWrapper();
- virtual scoped_refptr<autofill::AutofillWebDataService>
- GetAutofillWebData() OVERRIDE;
+ virtual autofill::AutofillWebDataService* GetAutofillWebData() OVERRIDE;
- virtual scoped_refptr<TokenWebData> GetTokenWebData() OVERRIDE;
+ virtual TokenWebData* GetTokenWebData() OVERRIDE;
virtual scoped_refptr<WebDataService> GetWebData() OVERRIDE;
protected:
- scoped_refptr<autofill::AutofillWebDataService> fake_autofill_web_data_;
- scoped_refptr<TokenWebData> fake_token_web_data_;
+ scoped_ptr<autofill::AutofillWebDataService> fake_autofill_web_data_;
+ scoped_ptr<TokenWebData> fake_token_web_data_;
scoped_refptr<WebDataService> fake_web_data_;
private:
« no previous file with comments | « components/webdata/common/web_data_service_base.h ('k') | components/webdata/common/web_data_service_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698