OLD | NEW |
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 CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_CONFIGURATOR_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_CONFIGURATOR_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_CONFIGURATOR_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_CONFIGURATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "chrome/browser/component_updater/component_updater_configurator.h" | 15 #include "components/component_updater/component_updater_configurator.h" |
16 #include "net/url_request/url_request_test_util.h" | 16 #include "net/url_request/url_request_test_util.h" |
17 | 17 |
18 namespace component_updater { | 18 namespace component_updater { |
19 | 19 |
20 #define POST_INTERCEPT_SCHEME "https" | 20 #define POST_INTERCEPT_SCHEME "https" |
21 #define POST_INTERCEPT_HOSTNAME "localhost2" | 21 #define POST_INTERCEPT_HOSTNAME "localhost2" |
22 #define POST_INTERCEPT_PATH "/update2" | 22 #define POST_INTERCEPT_PATH "/update2" |
23 | 23 |
24 struct CrxComponent; | 24 struct CrxComponent; |
25 | 25 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 scoped_refptr<net::TestURLRequestContextGetter> context_; | 69 scoped_refptr<net::TestURLRequestContextGetter> context_; |
70 base::Closure quit_closure_; | 70 base::Closure quit_closure_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(TestConfigurator); | 72 DISALLOW_COPY_AND_ASSIGN(TestConfigurator); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace component_updater | 75 } // namespace component_updater |
76 | 76 |
77 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_CONFIGURATOR_H_ | 77 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_CONFIGURATOR_H_ |
OLD | NEW |