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

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

Issue 777863002: Introduce new component webdata_services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile as static_library instead of component Created 6 years 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') | components/webdata_services.gypi » ('j') | 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
deleted file mode 100644
index 0d91cdfa7b1136284fb7a9877efcd89210c1efee..0000000000000000000000000000000000000000
--- a/components/webdata/common/web_data_service_test_util.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/webdata/common/web_data_service_test_util.h"
-
-#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
-
-using autofill::AutofillWebDataService;
-
-MockWebDataServiceWrapperBase::MockWebDataServiceWrapperBase() {
-}
-
-MockWebDataServiceWrapperBase::~MockWebDataServiceWrapperBase() {
-}
-
-void MockWebDataServiceWrapperBase::Shutdown() {
-}
-
-// TODO(caitkp): This won't scale well. As we get more WebData subclasses, we
-// will probably need a better way to create these mocks rather than passing
-// all the webdatas in.
-MockWebDataServiceWrapper::MockWebDataServiceWrapper(
- scoped_refptr<AutofillWebDataService> fake_autofill,
- scoped_refptr<TokenWebData> fake_token)
- : fake_autofill_web_data_(fake_autofill),
- fake_token_web_data_(fake_token) {
-}
-
-MockWebDataServiceWrapper::~MockWebDataServiceWrapper() {
-}
-
-scoped_refptr<AutofillWebDataService>
- MockWebDataServiceWrapper::GetAutofillWebData() {
- return fake_autofill_web_data_;
-}
-
-scoped_refptr<TokenWebData> MockWebDataServiceWrapper::GetTokenWebData() {
- return fake_token_web_data_;
-}
« no previous file with comments | « components/webdata/common/web_data_service_test_util.h ('k') | components/webdata_services.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698