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

Side by Side Diff: chrome/browser/webdata/web_data_service_test_util.h

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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
« no previous file with comments | « chrome/browser/visitedlink_master.h ('k') | chrome/common/chrome_plugin_lib.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__
6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <vector>
10
11 #include "base/basictypes.h" 9 #include "base/basictypes.h"
12 #include "base/message_loop.h" 10 #include "base/message_loop.h"
13 #include "chrome/browser/chrome_thread.h" 11 #include "chrome/browser/chrome_thread.h"
14 #include "chrome/browser/webdata/web_data_service.h" 12 #include "chrome/browser/webdata/web_data_service.h"
15 13
16 template <class T> 14 template <class T>
17 class AutofillWebDataServiceConsumer: public WebDataServiceConsumer { 15 class AutofillWebDataServiceConsumer: public WebDataServiceConsumer {
18 public: 16 public:
19 AutofillWebDataServiceConsumer() : handle_(0) {} 17 AutofillWebDataServiceConsumer() : handle_(0) {}
20 virtual ~AutofillWebDataServiceConsumer() {} 18 virtual ~AutofillWebDataServiceConsumer() {}
(...skipping 12 matching lines...) Expand all
33 WebDataService::Handle handle() { return handle_; } 31 WebDataService::Handle handle() { return handle_; }
34 T& result() { return result_; } 32 T& result() { return result_; }
35 33
36 private: 34 private:
37 WebDataService::Handle handle_; 35 WebDataService::Handle handle_;
38 T result_; 36 T result_;
39 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceConsumer); 37 DISALLOW_COPY_AND_ASSIGN(AutofillWebDataServiceConsumer);
40 }; 38 };
41 39
42 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__ 40 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_TEST_UTIL_H__
OLDNEW
« no previous file with comments | « chrome/browser/visitedlink_master.h ('k') | chrome/common/chrome_plugin_lib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698