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

Unified Diff: chrome/browser/chrome_net_benchmarking_message_filter.h

Issue 2085643002: Don't clear the net predictors prefs on startup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODO Created 4 years, 6 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/chrome_net_benchmarking_message_filter.h
diff --git a/chrome/browser/chrome_net_benchmarking_message_filter.h b/chrome/browser/chrome_net_benchmarking_message_filter.h
index 4c25e67c72c531e1aac01d23647a68db1a14e197..269074fef14b0a401e21af13b28532975e10c9f9 100644
--- a/chrome/browser/chrome_net_benchmarking_message_filter.h
+++ b/chrome/browser/chrome_net_benchmarking_message_filter.h
@@ -25,6 +25,9 @@ class ChromeNetBenchmarkingMessageFilter
// content::BrowserMessageFilter methods:
bool OnMessageReceived(const IPC::Message& message) override;
+ void OverrideThreadForMessage(const IPC::Message& message,
+ content::BrowserThread::ID* thread) override;
+
private:
~ChromeNetBenchmarkingMessageFilter() override;
@@ -41,6 +44,7 @@ class ChromeNetBenchmarkingMessageFilter
// The Profile associated with our renderer process. This should only be
// accessed on the UI thread!
+ // TODO(623967): Store the Predictor* here instead of the Profile.
Profile* profile_;
scoped_refptr<net::URLRequestContextGetter> request_context_;
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover.cc ('k') | chrome/browser/chrome_net_benchmarking_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698