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

Side by Side Diff: chrome/browser/net/predictor_unittest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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
« no previous file with comments | « chrome/browser/net/predictor_tab_helper.h ('k') | chrome/browser/net/probe_message.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 <stddef.h>
5 #include <time.h> 6 #include <time.h>
6 7
7 #include <algorithm> 8 #include <algorithm>
8 #include <sstream> 9 #include <sstream>
9 #include <string> 10 #include <string>
10 11
11 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
14 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
16 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
17 #include "base/timer/timer.h" 19 #include "base/timer/timer.h"
18 #include "base/values.h" 20 #include "base/values.h"
21 #include "build/build_config.h"
19 #include "chrome/browser/net/predictor.h" 22 #include "chrome/browser/net/predictor.h"
20 #include "chrome/browser/net/url_info.h" 23 #include "chrome/browser/net/url_info.h"
21 #include "components/network_hints/common/network_hints_common.h" 24 #include "components/network_hints/common/network_hints_common.h"
22 #include "content/public/test/test_browser_thread.h" 25 #include "content/public/test/test_browser_thread.h"
23 #include "net/base/address_list.h" 26 #include "net/base/address_list.h"
24 #include "net/base/load_flags.h" 27 #include "net/base/load_flags.h"
25 #include "net/base/net_errors.h" 28 #include "net/base/net_errors.h"
26 #include "net/base/winsock_init.h" 29 #include "net/base/winsock_init.h"
27 #include "net/dns/mock_host_resolver.h" 30 #include "net/dns/mock_host_resolver.h"
28 #include "net/http/transport_security_state.h" 31 #include "net/http/transport_security_state.h"
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 testing_master.Resolve(goog, UrlInfo::OMNIBOX_MOTIVATED); 840 testing_master.Resolve(goog, UrlInfo::OMNIBOX_MOTIVATED);
838 841
839 // Proxy may not be in use (the PAC script has not yet been evaluated), so the 842 // Proxy may not be in use (the PAC script has not yet been evaluated), so the
840 // name has been registered for pre-resolve. 843 // name has been registered for pre-resolve.
841 EXPECT_FALSE(testing_master.work_queue_.IsEmpty()); 844 EXPECT_FALSE(testing_master.work_queue_.IsEmpty());
842 845
843 testing_master.Shutdown(); 846 testing_master.Shutdown();
844 } 847 }
845 848
846 } // namespace chrome_browser_net 849 } // namespace chrome_browser_net
OLDNEW
« no previous file with comments | « chrome/browser/net/predictor_tab_helper.h ('k') | chrome/browser/net/probe_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698