| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <time.h> | 5 #include <time.h> |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <sstream> | 8 #include <sstream> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "chrome/browser/net/predictor.h" | 16 #include "chrome/browser/net/predictor.h" |
| 17 #include "chrome/browser/net/spdyproxy/proxy_advisor.h" | 17 #include "chrome/browser/net/spdyproxy/proxy_advisor.h" |
| 18 #include "chrome/browser/net/url_info.h" | 18 #include "chrome/browser/net/url_info.h" |
| 19 #include "chrome/common/net/predictor_common.h" | 19 #include "components/predictor/common/predictor_common.h" |
| 20 #include "content/public/test/test_browser_thread.h" | 20 #include "content/public/test/test_browser_thread.h" |
| 21 #include "net/base/address_list.h" | 21 #include "net/base/address_list.h" |
| 22 #include "net/base/winsock_init.h" | 22 #include "net/base/winsock_init.h" |
| 23 #include "net/dns/mock_host_resolver.h" | 23 #include "net/dns/mock_host_resolver.h" |
| 24 #include "net/http/transport_security_state.h" | 24 #include "net/http/transport_security_state.h" |
| 25 #include "testing/gmock/include/gmock/gmock.h" | 25 #include "testing/gmock/include/gmock/gmock.h" |
| 26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
| 27 | 27 |
| 28 using base::Time; | 28 using base::Time; |
| 29 using base::TimeDelta; | 29 using base::TimeDelta; |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 | 859 |
| 860 EXPECT_EQ(advisor->would_proxy_count_, 0); | 860 EXPECT_EQ(advisor->would_proxy_count_, 0); |
| 861 EXPECT_EQ(advisor->advise_count_, 1); | 861 EXPECT_EQ(advisor->advise_count_, 1); |
| 862 | 862 |
| 863 testing_master.Shutdown(); | 863 testing_master.Shutdown(); |
| 864 } | 864 } |
| 865 | 865 |
| 866 #endif // defined(OS_ANDROID) || defined(OS_IOS) | 866 #endif // defined(OS_ANDROID) || defined(OS_IOS) |
| 867 | 867 |
| 868 } // namespace chrome_browser_net | 868 } // namespace chrome_browser_net |
| OLD | NEW |