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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <gtest/gtest.h> 5 #include <gtest/gtest.h>
6 #include <stddef.h>
6 7
7 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
9 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
10 #include "base/values.h" 12 #include "base/values.h"
11 #include "chrome/browser/prefs/command_line_pref_store.h" 13 #include "chrome/browser/prefs/command_line_pref_store.h"
12 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
13 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
14 #include "components/proxy_config/proxy_config_dictionary.h" 16 #include "components/proxy_config/proxy_config_dictionary.h"
15 #include "components/proxy_config/proxy_config_pref_names.h" 17 #include "components/proxy_config/proxy_config_pref_names.h"
16 #include "components/ssl_config/ssl_config_prefs.h" 18 #include "components/ssl_config/ssl_config_prefs.h"
17 #include "ui/base/ui_base_switches.h" 19 #include "ui/base/ui_base_switches.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 cl3.AppendSwitchASCII(switches::kCipherSuiteBlacklist, 214 cl3.AppendSwitchASCII(switches::kCipherSuiteBlacklist,
213 "0x0004;MOAR;0x0005"); 215 "0x0004;MOAR;0x0005");
214 scoped_refptr<TestCommandLinePrefStore> store3 = 216 scoped_refptr<TestCommandLinePrefStore> store3 =
215 new TestCommandLinePrefStore(&cl3); 217 new TestCommandLinePrefStore(&cl3);
216 const char* const expected_ciphers3[] = { 218 const char* const expected_ciphers3[] = {
217 "0x0004;MOAR;0x0005" 219 "0x0004;MOAR;0x0005"
218 }; 220 };
219 store3->VerifySSLCipherSuites(expected_ciphers3, 221 store3->VerifySSLCipherSuites(expected_ciphers3,
220 arraysize(expected_ciphers3)); 222 arraysize(expected_ciphers3));
221 } 223 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc ('k') | chrome/browser/prefs/incognito_mode_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698