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

Side by Side Diff: net/proxy/proxy_service_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/proxy/proxy_service_mojo.h ('k') | net/proxy/proxy_service_v8.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "net/proxy/proxy_service.h" 5 #include "net/proxy/proxy_service.h"
6 6
7 #include <cstdarg> 7 #include <cstdarg>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "net/base/load_flags.h" 15 #include "net/base/load_flags.h"
15 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
16 #include "net/base/network_delegate_impl.h" 17 #include "net/base/network_delegate_impl.h"
17 #include "net/base/test_completion_callback.h" 18 #include "net/base/test_completion_callback.h"
18 #include "net/log/net_log.h" 19 #include "net/log/net_log.h"
19 #include "net/log/test_net_log.h" 20 #include "net/log/test_net_log.h"
20 #include "net/log/test_net_log_entry.h" 21 #include "net/log/test_net_log_entry.h"
21 #include "net/log/test_net_log_util.h" 22 #include "net/log/test_net_log_util.h"
(...skipping 3354 matching lines...) Expand 10 before | Expand all | Expand 10 after
3376 url, LOAD_NORMAL, &info, NULL, log.bound()); 3377 url, LOAD_NORMAL, &info, NULL, log.bound());
3377 EXPECT_TRUE(synchronous_success); 3378 EXPECT_TRUE(synchronous_success);
3378 EXPECT_FALSE(info.is_direct()); 3379 EXPECT_FALSE(info.is_direct());
3379 EXPECT_EQ("foopy1", info.proxy_server().host_port_pair().host()); 3380 EXPECT_EQ("foopy1", info.proxy_server().host_port_pair().host());
3380 3381
3381 // No request should have been queued. 3382 // No request should have been queued.
3382 EXPECT_EQ(0u, factory->pending_requests().size()); 3383 EXPECT_EQ(0u, factory->pending_requests().size());
3383 } 3384 }
3384 3385
3385 } // namespace net 3386 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_service_mojo.h ('k') | net/proxy/proxy_service_v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698