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

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

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 // 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/threading/platform_thread.h" 10 #include "base/threading/platform_thread.h"
11 #include "base/time.h" 11 #include "base/time/time.h"
12 #include "chrome/browser/net/url_info.h" 12 #include "chrome/browser/net/url_info.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 using base::TimeDelta; 15 using base::TimeDelta;
16 using base::TimeTicks; 16 using base::TimeTicks;
17 17
18 namespace { 18 namespace {
19 19
20 class UrlHostInfoTest : public testing::Test { 20 class UrlHostInfoTest : public testing::Test {
21 }; 21 };
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 info.RemoveFromQueue(); // Do the reset. 121 info.RemoveFromQueue(); // Do the reset.
122 EXPECT_FALSE(info.is_assigned()); 122 EXPECT_FALSE(info.is_assigned());
123 EXPECT_TRUE(info.was_found()); // Back to what it was before being queued. 123 EXPECT_TRUE(info.was_found()); // Back to what it was before being queued.
124 } 124 }
125 125
126 126
127 // TODO(jar): Add death test for illegal state changes, and also for setting 127 // TODO(jar): Add death test for illegal state changes, and also for setting
128 // hostname when already set. 128 // hostname when already set.
129 129
130 } // namespace 130 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/net/url_info.h ('k') | chrome/browser/notifications/message_center_notification_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698