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

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

Issue 2749583003: predictors: Don't record URLs with a port. (Closed)
Patch Set: Add a comment. Created 3 years, 9 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
Index: chrome/browser/predictors/resource_prefetch_predictor.h
diff --git a/chrome/browser/predictors/resource_prefetch_predictor.h b/chrome/browser/predictors/resource_prefetch_predictor.h
index 291da2802f344764352315cd8fe89605b26acdd6..95e36561c66c3326359815080adf404cd635ea66 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor.h
+++ b/chrome/browser/predictors/resource_prefetch_predictor.h
@@ -290,6 +290,8 @@ class ResourcePrefetchPredictor
const RedirectDataMap& redirect_data_map,
std::string* redirect_endpoint);
+ static void SetAllowPortInUrlsForTesting(bool state);
+
// KeyedService methods override.
void Shutdown() override;

Powered by Google App Engine
This is Rietveld 408576698