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

Unified Diff: components/webdata/common/web_data_service_test_util.cc

Issue 15734014: Split token-related methods from WebDataService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DEPs again Created 7 years, 7 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 | « components/webdata/common/web_data_service_test_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/common/web_data_service_test_util.cc
diff --git a/components/webdata/common/web_data_service_test_util.cc b/components/webdata/common/web_data_service_test_util.cc
index 950b56fd7420fb7fa410dc739494df2ce0ee026f..2720721ec5a6dbc9ad2237c1d92f220559b492dd 100644
--- a/components/webdata/common/web_data_service_test_util.cc
+++ b/components/webdata/common/web_data_service_test_util.cc
@@ -22,8 +22,10 @@ void MockWebDataServiceWrapperBase::Shutdown() {
// all the webdatas in.
MockWebDataServiceWrapper::MockWebDataServiceWrapper(
scoped_refptr<WebDataService> fake_service,
- scoped_refptr<AutofillWebDataService> fake_autofill)
+ scoped_refptr<AutofillWebDataService> fake_autofill,
+ scoped_refptr<TokenWebData> fake_token)
: fake_autofill_web_data_(fake_autofill),
+ fake_token_web_data_(fake_token),
fake_web_data_(fake_service) {
}
@@ -35,6 +37,10 @@ scoped_refptr<AutofillWebDataService>
return fake_autofill_web_data_;
}
+scoped_refptr<TokenWebData> MockWebDataServiceWrapper::GetTokenWebData() {
+ return fake_token_web_data_;
+}
+
scoped_refptr<WebDataService> MockWebDataServiceWrapper::GetWebData() {
return fake_web_data_;
}
« no previous file with comments | « components/webdata/common/web_data_service_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698