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

Side by Side Diff: chrome/browser/net/url_info_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/url_info.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('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 // Single threaded tests of UrlInfo functionality. 5 // Single threaded tests of UrlInfo functionality.
6 6
7 #include <time.h> 7 #include <time.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/platform_thread.h" 10 #include "base/platform_thread.h"
11 #include "chrome/browser/net/dns_host_info.h" 11 #include "chrome/browser/net/url_info.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 using base::TimeDelta; 14 using base::TimeDelta;
15 15
16 namespace { 16 namespace {
17 17
18 class DnsHostInfoTest : public testing::Test { 18 class DnsHostInfoTest : public testing::Test {
19 }; 19 };
20 20
21 typedef chrome_browser_net::UrlInfo UrlInfo; 21 typedef chrome_browser_net::UrlInfo UrlInfo;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 info.RemoveFromQueue(); // Do the reset. 120 info.RemoveFromQueue(); // Do the reset.
121 EXPECT_FALSE(info.is_assigned()); 121 EXPECT_FALSE(info.is_assigned());
122 EXPECT_TRUE(info.was_found()); // Back to what it was before being queued. 122 EXPECT_TRUE(info.was_found()); // Back to what it was before being queued.
123 } 123 }
124 124
125 125
126 // TODO(jar): Add death test for illegal state changes, and also for setting 126 // TODO(jar): Add death test for illegal state changes, and also for setting
127 // hostname when already set. 127 // hostname when already set.
128 128
129 } // namespace 129 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/net/url_info.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698