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

Side by Side Diff: components/webdata/common/web_data_service_test_util.h

Issue 130813003: Create signin component and componentize TokenWebData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/webdata/DEPS ('k') | components/webdata/common/web_database_migration_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__ 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__
6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__ 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "chrome/browser/webdata/token_web_data.h"
11 #include "chrome/browser/webdata/web_data_service.h" 10 #include "chrome/browser/webdata/web_data_service.h"
12 #include "chrome/browser/webdata/web_data_service_factory.h" 11 #include "chrome/browser/webdata/web_data_service_factory.h"
12 #include "components/signin/core/webdata/token_web_data.h"
13 13
14 // Base class for mocks of WebDataService, that does nothing in 14 // Base class for mocks of WebDataService, that does nothing in
15 // Shutdown(). 15 // Shutdown().
16 class MockWebDataServiceWrapperBase : public WebDataServiceWrapper { 16 class MockWebDataServiceWrapperBase : public WebDataServiceWrapper {
17 public: 17 public:
18 MockWebDataServiceWrapperBase(); 18 MockWebDataServiceWrapperBase();
19 virtual ~MockWebDataServiceWrapperBase(); 19 virtual ~MockWebDataServiceWrapperBase();
20 20
21 virtual void Shutdown() OVERRIDE; 21 virtual void Shutdown() OVERRIDE;
22 22
(...skipping 22 matching lines...) Expand all
45 protected: 45 protected:
46 scoped_refptr<autofill::AutofillWebDataService> fake_autofill_web_data_; 46 scoped_refptr<autofill::AutofillWebDataService> fake_autofill_web_data_;
47 scoped_refptr<TokenWebData> fake_token_web_data_; 47 scoped_refptr<TokenWebData> fake_token_web_data_;
48 scoped_refptr<WebDataService> fake_web_data_; 48 scoped_refptr<WebDataService> fake_web_data_;
49 49
50 private: 50 private:
51 DISALLOW_COPY_AND_ASSIGN(MockWebDataServiceWrapper); 51 DISALLOW_COPY_AND_ASSIGN(MockWebDataServiceWrapper);
52 }; 52 };
53 53
54 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__ 54 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__
OLDNEW
« no previous file with comments | « components/webdata/DEPS ('k') | components/webdata/common/web_database_migration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698