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

Side by Side Diff: components/ssl_config/ssl_config_service_manager_pref_unittest.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 months 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
OLDNEW
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 <memory> 5 #include <memory>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/feature_list.h" 8 #include "base/feature_list.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "components/prefs/testing_pref_service.h" 13 #include "components/prefs/testing_pref_service.h"
14 #include "components/ssl_config/ssl_config_prefs.h" 14 #include "components/ssl_config/ssl_config_prefs.h"
15 #include "components/ssl_config/ssl_config_service_manager.h" 15 #include "components/ssl_config/ssl_config_service_manager.h"
16 #include "components/ssl_config/ssl_config_switches.h" 16 #include "components/ssl_config/ssl_config_switches.h"
17 #include "net/ssl/ssl_config.h" 17 #include "net/ssl/ssl_config.h"
18 #include "net/ssl/ssl_config_service.h" 18 #include "net/ssl/ssl_config_service.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
21 using base::ListValue; 21 using base::ListValue;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 SSLConfigServiceManager::CreateDefaultManager( 215 SSLConfigServiceManager::CreateDefaultManager(
216 &local_state, base::ThreadTaskRunnerHandle::Get())); 216 &local_state, base::ThreadTaskRunnerHandle::Get()));
217 scoped_refptr<SSLConfigService> config_service(config_manager->Get()); 217 scoped_refptr<SSLConfigService> config_service(config_manager->Get());
218 ASSERT_TRUE(config_service.get()); 218 ASSERT_TRUE(config_service.get());
219 219
220 // The feature should have switched the default version_fallback_min value. 220 // The feature should have switched the default version_fallback_min value.
221 SSLConfig ssl_config; 221 SSLConfig ssl_config;
222 config_service->GetSSLConfig(&ssl_config); 222 config_service->GetSSLConfig(&ssl_config);
223 EXPECT_EQ(net::SSL_PROTOCOL_VERSION_TLS1_1, ssl_config.version_fallback_min); 223 EXPECT_EQ(net::SSL_PROTOCOL_VERSION_TLS1_1, ssl_config.version_fallback_min);
224 } 224 }
OLDNEW
« no previous file with comments | « components/signin/core/browser/test_signin_client.cc ('k') | components/storage_monitor/storage_monitor_linux_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698