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

Side by Side Diff: chrome/browser/io_thread_unittest.cc

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage 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
« no previous file with comments | « no previous file | components/cronet/android/cronet_bidirectional_stream_adapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 12 matching lines...) Expand all
23 #include "components/proxy_config/proxy_config_pref_names.h" 23 #include "components/proxy_config/proxy_config_pref_names.h"
24 #include "components/variations/variations_associated_data.h" 24 #include "components/variations/variations_associated_data.h"
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "content/public/test/test_browser_thread_bundle.h" 26 #include "content/public/test/test_browser_thread_bundle.h"
27 #include "extensions/features/features.h" 27 #include "extensions/features/features.h"
28 #include "net/cert_net/nss_ocsp.h" 28 #include "net/cert_net/nss_ocsp.h"
29 #include "net/http/http_auth_preferences.h" 29 #include "net/http/http_auth_preferences.h"
30 #include "net/http/http_auth_scheme.h" 30 #include "net/http/http_auth_scheme.h"
31 #include "net/http/http_network_session.h" 31 #include "net/http/http_network_session.h"
32 #include "net/quic/chromium/quic_stream_factory.h" 32 #include "net/quic/chromium/quic_stream_factory.h"
33 #include "net/quic/core/quic_protocol.h" 33 #include "net/quic/core/quic_tag.h"
34 #include "net/quic/core/quic_versions.h"
34 #include "testing/gmock/include/gmock/gmock.h" 35 #include "testing/gmock/include/gmock/gmock.h"
35 #include "testing/gtest/include/gtest/gtest.h" 36 #include "testing/gtest/include/gtest/gtest.h"
36 37
37 #if BUILDFLAG(ENABLE_EXTENSIONS) 38 #if BUILDFLAG(ENABLE_EXTENSIONS)
38 #include "chrome/browser/extensions/event_router_forwarder.h" 39 #include "chrome/browser/extensions/event_router_forwarder.h"
39 #endif 40 #endif
40 41
41 #if defined(OS_CHROMEOS) 42 #if defined(OS_CHROMEOS)
42 #include "chromeos/dbus/dbus_thread_manager.h" 43 #include "chromeos/dbus/dbus_thread_manager.h"
43 #include "chromeos/network/network_handler.h" 44 #include "chromeos/network/network_handler.h"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 command_line_.AppendSwitchASCII("testing-fixed-http-port", "42"); 461 command_line_.AppendSwitchASCII("testing-fixed-http-port", "42");
461 command_line_.AppendSwitchASCII("testing-fixed-https-port", "137"); 462 command_line_.AppendSwitchASCII("testing-fixed-https-port", "137");
462 463
463 ConfigureParamsFromFieldTrialsAndCommandLine(); 464 ConfigureParamsFromFieldTrialsAndCommandLine();
464 465
465 EXPECT_EQ(42u, params_.testing_fixed_http_port); 466 EXPECT_EQ(42u, params_.testing_fixed_http_port);
466 EXPECT_EQ(137u, params_.testing_fixed_https_port); 467 EXPECT_EQ(137u, params_.testing_fixed_https_port);
467 } 468 }
468 469
469 } // namespace test 470 } // namespace test
OLDNEW
« no previous file with comments | « no previous file | components/cronet/android/cronet_bidirectional_stream_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698