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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_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/browser/data_reduction_proxy_bypa ss_protocol.h" 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa ss_protocol.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
11 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
12 #include "base/metrics/field_trial.h" 15 #include "base/metrics/field_trial.h"
13 #include "base/run_loop.h" 16 #include "base/run_loop.h"
14 #include "base/stl_util.h" 17 #include "base/stl_util.h"
15 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
16 #include "base/test/histogram_tester.h" 19 #include "base/test/histogram_tester.h"
17 #include "base/test/mock_entropy_provider.h" 20 #include "base/test/mock_entropy_provider.h"
18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa ss_stats.h" 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_bypa ss_stats.h"
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 EXPECT_EQ(net::URLRequestStatus::SUCCESS, r->status().status()); 984 EXPECT_EQ(net::URLRequestStatus::SUCCESS, r->status().status());
982 EXPECT_EQ(net::OK, r->status().error()); 985 EXPECT_EQ(net::OK, r->status().error());
983 986
984 EXPECT_EQ("Bypass message", d.data_received()); 987 EXPECT_EQ("Bypass message", d.data_received());
985 988
986 // We should have no entries in our bad proxy list. 989 // We should have no entries in our bad proxy list.
987 TestBadProxies(0, -1, "", ""); 990 TestBadProxies(0, -1, "", "");
988 } 991 }
989 992
990 } // namespace data_reduction_proxy 993 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698