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

Side by Side Diff: chrome/browser/prefs/command_line_pref_store_proxy_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 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 "chrome/browser/prefs/command_line_pref_store.h" 5 #include "chrome/browser/prefs/command_line_pref_store.h"
6 6
7 #include <gtest/gtest.h> 7 #include <gtest/gtest.h>
8 #include <stddef.h>
8 9
9 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
11 #include "base/prefs/pref_registry_simple.h" 13 #include "base/prefs/pref_registry_simple.h"
12 #include "base/prefs/pref_service.h" 14 #include "base/prefs/pref_service.h"
13 #include "chrome/browser/prefs/command_line_pref_store.h" 15 #include "chrome/browser/prefs/command_line_pref_store.h"
14 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
15 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" 17 #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
16 #include "components/syncable_prefs/pref_service_mock_factory.h" 18 #include "components/syncable_prefs/pref_service_mock_factory.h"
17 #include "net/proxy/proxy_config_service_common_unittest.h" 19 #include "net/proxy/proxy_config_service_common_unittest.h"
18 #include "url/gurl.h" 20 #include "url/gurl.h"
19 21
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 187
186 TEST_P(CommandLinePrefStoreProxyTest, CommandLine) { 188 TEST_P(CommandLinePrefStoreProxyTest, CommandLine) {
187 EXPECT_EQ(GetParam().auto_detect, proxy_config()->auto_detect()); 189 EXPECT_EQ(GetParam().auto_detect, proxy_config()->auto_detect());
188 EXPECT_EQ(GetParam().pac_url, proxy_config()->pac_url()); 190 EXPECT_EQ(GetParam().pac_url, proxy_config()->pac_url());
189 EXPECT_TRUE(GetParam().proxy_rules.Matches(proxy_config()->proxy_rules())); 191 EXPECT_TRUE(GetParam().proxy_rules.Matches(proxy_config()->proxy_rules()));
190 } 192 }
191 193
192 INSTANTIATE_TEST_CASE_P(CommandLinePrefStoreProxyTestInstance, 194 INSTANTIATE_TEST_CASE_P(CommandLinePrefStoreProxyTestInstance,
193 CommandLinePrefStoreProxyTest, 195 CommandLinePrefStoreProxyTest,
194 testing::ValuesIn(kCommandLineTestParams)); 196 testing::ValuesIn(kCommandLineTestParams));
OLDNEW
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store.cc ('k') | chrome/browser/prefs/command_line_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698