| 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/chromeos/proxy_config_service_impl.h" | 5 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/format_macros.h" | 11 #include "base/format_macros.h" |
| 12 #include "base/json/json_value_serializer.h" | 12 #include "base/json/json_value_serializer.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/message_loop.h" |
| 14 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 15 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
| 16 #include "chrome/browser/chromeos/cros/cros_library.h" | 17 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 17 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 18 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" |
| 18 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
| 19 #include "chrome/test/base/testing_pref_service.h" | 20 #include "chrome/test/base/testing_pref_service.h" |
| 20 #include "content/test/test_browser_thread.h" | 21 #include "content/test/test_browser_thread.h" |
| 21 #include "net/proxy/proxy_config_service_common_unittest.h" | 22 #include "net/proxy/proxy_config_service_common_unittest.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
| 23 | 24 |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 EXPECT_EQ(network_params.auto_detect, actual_config.auto_detect()); | 553 EXPECT_EQ(network_params.auto_detect, actual_config.auto_detect()); |
| 553 EXPECT_EQ(network_params.pac_url, actual_config.pac_url()); | 554 EXPECT_EQ(network_params.pac_url, actual_config.pac_url()); |
| 554 EXPECT_TRUE(network_params.proxy_rules.Matches( | 555 EXPECT_TRUE(network_params.proxy_rules.Matches( |
| 555 actual_config.proxy_rules())); | 556 actual_config.proxy_rules())); |
| 556 } | 557 } |
| 557 } | 558 } |
| 558 | 559 |
| 559 } // namespace | 560 } // namespace |
| 560 | 561 |
| 561 } // namespace chromeos | 562 } // namespace chromeos |
| OLD | NEW |