OLD | NEW |
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 #include "chrome/browser/net/pref_proxy_config_service.h" | 5 #include "chrome/browser/net/pref_proxy_config_service.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "chrome/browser/net/chrome_url_request_context.h" | 10 #include "chrome/browser/net/chrome_url_request_context.h" |
11 #include "chrome/browser/prefs/pref_service_mock_builder.h" | 11 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
12 #include "chrome/browser/prefs/proxy_config_dictionary.h" | 12 #include "chrome/browser/prefs/proxy_config_dictionary.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
15 #include "chrome/test/testing_pref_service.h" | 15 #include "chrome/test/base/testing_pref_service.h" |
16 #include "content/browser/browser_thread.h" | 16 #include "content/browser/browser_thread.h" |
17 #include "net/proxy/proxy_config_service_common_unittest.h" | 17 #include "net/proxy/proxy_config_service_common_unittest.h" |
18 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 | 20 |
21 using testing::_; | 21 using testing::_; |
22 using testing::Mock; | 22 using testing::Mock; |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 net::ProxyRulesExpectation::Empty(), | 465 net::ProxyRulesExpectation::Empty(), |
466 }, | 466 }, |
467 }; | 467 }; |
468 | 468 |
469 INSTANTIATE_TEST_CASE_P( | 469 INSTANTIATE_TEST_CASE_P( |
470 PrefProxyConfigServiceCommandLineTestInstance, | 470 PrefProxyConfigServiceCommandLineTestInstance, |
471 PrefProxyConfigServiceCommandLineTest, | 471 PrefProxyConfigServiceCommandLineTest, |
472 testing::ValuesIn(kCommandLineTestParams)); | 472 testing::ValuesIn(kCommandLineTestParams)); |
473 | 473 |
474 } // namespace | 474 } // namespace |
OLD | NEW |