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

Side by Side Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PARAMS _TEST_UTILS_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PARAMS _TEST_UTILS_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PARAMS _TEST_UTILS_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PARAMS _TEST_UTILS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 10 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
11 11
12 namespace base {
13 class TimeDelta;
14 }
15
16 namespace net { 12 namespace net {
17 class ProxyConfig;
18 class ProxyServer; 13 class ProxyServer;
19 class URLRequest;
20 } 14 }
21 15
22 namespace data_reduction_proxy { 16 namespace data_reduction_proxy {
23 17
24 class TestDataReductionProxyParams : public DataReductionProxyParams { 18 class TestDataReductionProxyParams : public DataReductionProxyParams {
25 public: 19 public:
26 // Used to emulate having constants defined by the preprocessor. 20 // Used to emulate having constants defined by the preprocessor.
27 enum HasNames { 21 enum HasNames {
28 HAS_NOTHING = 0x0, 22 HAS_NOTHING = 0x0,
29 HAS_ORIGIN = 0x2, 23 HAS_ORIGIN = 0x2,
(...skipping 26 matching lines...) Expand all
56 50
57 private: 51 private:
58 std::string GetDefinition(unsigned int has_def, 52 std::string GetDefinition(unsigned int has_def,
59 const std::string& definition) const; 53 const std::string& definition) const;
60 54
61 unsigned int has_definitions_; 55 unsigned int has_definitions_;
62 bool init_result_; 56 bool init_result_;
63 }; 57 };
64 } // namespace data_reduction_proxy 58 } // namespace data_reduction_proxy
65 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PAR AMS_TEST_UTILS_H_ 59 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PAR AMS_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698