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

Side by Side Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 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 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 "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 5 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/macros.h"
12 #include "base/metrics/field_trial.h" 15 #include "base/metrics/field_trial.h"
13 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h" 16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h"
14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" 17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h"
15 #include "components/variations/variations_associated_data.h" 18 #include "components/variations/variations_associated_data.h"
16 #include "net/proxy/proxy_server.h" 19 #include "net/proxy/proxy_server.h"
17 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
19 22
20 namespace { 23 namespace {
21 24
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 std::vector<net::ProxyServer> expected_override_proxies_for_http; 416 std::vector<net::ProxyServer> expected_override_proxies_for_http;
414 expected_override_proxies_for_http.push_back(net::ProxyServer::FromURI( 417 expected_override_proxies_for_http.push_back(net::ProxyServer::FromURI(
415 "http://override-first.net", net::ProxyServer::SCHEME_HTTP)); 418 "http://override-first.net", net::ProxyServer::SCHEME_HTTP));
416 expected_override_proxies_for_http.push_back(net::ProxyServer::FromURI( 419 expected_override_proxies_for_http.push_back(net::ProxyServer::FromURI(
417 "http://override-second.net", net::ProxyServer::SCHEME_HTTP)); 420 "http://override-second.net", net::ProxyServer::SCHEME_HTTP));
418 421
419 EXPECT_EQ(expected_override_proxies_for_http, params.proxies_for_http()); 422 EXPECT_EQ(expected_override_proxies_for_http, params.proxies_for_http());
420 } 423 }
421 424
422 } // namespace data_reduction_proxy 425 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698