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

Side by Side Diff: chrome/browser/prefs/command_line_pref_store_ssl_manager_unittest.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/ssl_config/ssl_config_service_manager.h" 5 #include "components/ssl_config/ssl_config_service_manager.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/prefs/pref_registry_simple.h"
10 #include "base/prefs/pref_service.h"
11 #include "base/prefs/testing_pref_store.h"
12 #include "base/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
13 #include "chrome/browser/prefs/command_line_pref_store.h" 10 #include "chrome/browser/prefs/command_line_pref_store.h"
11 #include "components/prefs/pref_registry_simple.h"
12 #include "components/prefs/pref_service.h"
13 #include "components/prefs/testing_pref_store.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_switches.h" 15 #include "components/ssl_config/ssl_config_switches.h"
16 #include "components/syncable_prefs/pref_service_mock_factory.h" 16 #include "components/syncable_prefs/pref_service_mock_factory.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 net::SSLConfig; 21 using net::SSLConfig;
22 using net::SSLConfigService; 22 using net::SSLConfigService;
23 using ssl_config::SSLConfigServiceManager; 23 using ssl_config::SSLConfigServiceManager;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 EXPECT_FALSE(version_max_pref->IsUserModifiable()); 70 EXPECT_FALSE(version_max_pref->IsUserModifiable());
71 71
72 std::string version_min_str; 72 std::string version_min_str;
73 std::string version_max_str; 73 std::string version_max_str;
74 EXPECT_FALSE(local_state_store->GetString(ssl_config::prefs::kSSLVersionMin, 74 EXPECT_FALSE(local_state_store->GetString(ssl_config::prefs::kSSLVersionMin,
75 &version_min_str)); 75 &version_min_str));
76 EXPECT_FALSE(local_state_store->GetString(ssl_config::prefs::kSSLVersionMax, 76 EXPECT_FALSE(local_state_store->GetString(ssl_config::prefs::kSSLVersionMax,
77 &version_max_str)); 77 &version_max_str));
78 } 78 }
79 79
OLDNEW
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc ('k') | chrome/browser/prefs/incognito_mode_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698