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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor_test_util.h

Issue 2418413003: predictors: Replace deprecated TestBrowserThread by TestBrowserThreadBundle (Closed)
Patch Set: '\n' -> std::endl Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_predictor_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/predictors/resource_prefetch_predictor_test_util.h
diff --git a/chrome/browser/predictors/resource_prefetch_predictor_test_util.h b/chrome/browser/predictors/resource_prefetch_predictor_test_util.h
index a86beb9bb97f4fc701ba40cb0196feccebb31221..daa3bd397f27125b1c077832b9c904dca48b441e 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor_test_util.h
+++ b/chrome/browser/predictors/resource_prefetch_predictor_test_util.h
@@ -33,10 +33,10 @@ RedirectData CreateRedirectData(const std::string& primary_key,
uint64_t last_visit_time = 0);
// For printing failures nicely.
-void PrintTo(const PrefetchData& data, ::std::ostream* os);
-void PrintTo(const ResourceData& resource, ::std::ostream* os);
-void PrintTo(const RedirectData& data, ::std::ostream* os);
-void PrintTo(const RedirectStat& redirect, ::std::ostream* os);
+std::ostream& operator<<(std::ostream& stream, const PrefetchData& data);
+std::ostream& operator<<(std::ostream& stream, const ResourceData& resource);
+std::ostream& operator<<(std::ostream& stream, const RedirectData& data);
+std::ostream& operator<<(std::ostream& stream, const RedirectStat& redirect);
bool operator==(const PrefetchData& lhs, const PrefetchData& rhs);
bool operator==(const ResourceData& lhs, const ResourceData& rhs);
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_predictor_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698