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

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

Issue 2866026: Rename Dns prefetching files to Predictor files... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/net/predictor_api.cc ('k') | chrome/browser/net/url_info.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) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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 <time.h> 5 #include <time.h>
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <sstream> 8 #include <sstream>
9 #include <string> 9 #include <string>
10 10
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "chrome/browser/chrome_thread.h" 15 #include "chrome/browser/chrome_thread.h"
16 #include "chrome/browser/net/dns_global.h" 16 #include "chrome/browser/net/predictor_api.h"
17 #include "chrome/browser/net/dns_host_info.h" 17 #include "chrome/browser/net/url_info.h"
18 #include "chrome/common/net/dns.h" 18 #include "chrome/common/net/predictor_common.h"
19 #include "net/base/address_list.h" 19 #include "net/base/address_list.h"
20 #include "net/base/mock_host_resolver.h" 20 #include "net/base/mock_host_resolver.h"
21 #include "net/base/winsock_init.h" 21 #include "net/base/winsock_init.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using base::Time; 24 using base::Time;
25 using base::TimeDelta; 25 using base::TimeDelta;
26 26
27 namespace chrome_browser_net { 27 namespace chrome_browser_net {
28 28
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 EXPECT_EQ(queue.Pop(), low2); 631 EXPECT_EQ(queue.Pop(), low2);
632 EXPECT_EQ(queue.Pop(), low3); 632 EXPECT_EQ(queue.Pop(), low3);
633 EXPECT_EQ(queue.Pop(), low4); 633 EXPECT_EQ(queue.Pop(), low4);
634 EXPECT_EQ(queue.Pop(), low5); 634 EXPECT_EQ(queue.Pop(), low5);
635 EXPECT_EQ(queue.Pop(), low4); 635 EXPECT_EQ(queue.Pop(), low4);
636 636
637 EXPECT_TRUE(queue.IsEmpty()); 637 EXPECT_TRUE(queue.IsEmpty());
638 } 638 }
639 639
640 } // namespace chrome_browser_net 640 } // namespace chrome_browser_net
OLDNEW
« no previous file with comments | « chrome/browser/net/predictor_api.cc ('k') | chrome/browser/net/url_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698