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

Side by Side Diff: chrome/browser/net/evicted_domain_cookie_counter_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
« no previous file with comments | « no previous file | chrome/browser/net/http_server_properties_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/net/evicted_domain_cookie_counter.h" 13 #include "chrome/browser/net/evicted_domain_cookie_counter.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "net/cookies/canonical_cookie.h" 15 #include "net/cookies/canonical_cookie.h"
16 #include "net/cookies/cookie_monster.h" 16 #include "net/cookies/cookie_monster.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace chrome_browser_net { 19 namespace chrome_browser_net {
20 20
21 using base::Time; 21 using base::Time;
22 using base::TimeDelta; 22 using base::TimeDelta;
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 for (int i = 0; i < 6; ++i) 380 for (int i = 0; i < 6; ++i)
381 Add(cookies_[i]); 381 Add(cookies_[i]);
382 EXPECT_EQ(0u, cookie_counter_->GetStorageSize()); 382 EXPECT_EQ(0u, cookie_counter_->GetStorageSize());
383 // Reinstatement delays: [1499,1497,(1494),(1490),(1485),300]. 383 // Reinstatement delays: [1499,1497,(1494),(1490),(1485),300].
384 EXPECT_EQ("1499,1497;300", google_stat_ + ";" + other_stat_); 384 EXPECT_EQ("1499,1497;300", google_stat_ + ";" + other_stat_);
385 } 385 }
386 386
387 } // namespace 387 } // namespace
388 388
389 } // namespace chrome_browser_net 389 } // namespace chrome_browser_net
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/http_server_properties_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698