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

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

Issue 13650007: Move WebData component unittests to //components/webdata. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
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 CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__ 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__
6 #define CHROME_BROWSER_WEBDATA_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.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/webdata/web_data_service.h" 10 #include "chrome/browser/webdata/web_data_service.h"
11 #include "chrome/browser/webdata/web_data_service_factory.h" 11 #include "chrome/browser/webdata/web_data_service_factory.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 13
14 template <class T> 14 template <class T>
15 class AutofillWebDataServiceConsumer: public WebDataServiceConsumer { 15 class AutofillWebDataServiceConsumer: public WebDataServiceConsumer {
16 public: 16 public:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual scoped_refptr<WebDataService> GetWebData() OVERRIDE; 66 virtual scoped_refptr<WebDataService> GetWebData() OVERRIDE;
67 67
68 protected: 68 protected:
69 scoped_refptr<AutofillWebDataService> fake_autofill_web_data_; 69 scoped_refptr<AutofillWebDataService> fake_autofill_web_data_;
70 scoped_refptr<WebDataService> fake_web_data_; 70 scoped_refptr<WebDataService> fake_web_data_;
71 71
72 private: 72 private:
73 DISALLOW_COPY_AND_ASSIGN(MockWebDataServiceWrapper); 73 DISALLOW_COPY_AND_ASSIGN(MockWebDataServiceWrapper);
74 }; 74 };
75 75
76 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__ 76 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_TEST_UTIL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698