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

Unified Diff: chrome/browser/net/predictor.h

Issue 1558983002: [Predictor CleanUp] Remove unused variables from Predictor class APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses mmenke's review inputs. Created 4 years, 11 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 | « AUTHORS ('k') | chrome/browser/net/predictor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor.h
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index 5f2670186c5a6f33bf660fa0751e8441d7d9bc89..53ea6323ca8a610e9bbcc57faba79fa4666ee3c4 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -19,16 +19,15 @@
#ifndef CHROME_BROWSER_NET_PREDICTOR_H_
#define CHROME_BROWSER_NET_PREDICTOR_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
-#include <stddef.h>
-
-#include <stdint.h>
-
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -137,7 +136,6 @@ class Predictor {
// ------------- Start UI thread methods.
virtual void InitNetworkPredictor(PrefService* user_prefs,
- PrefService* local_state,
IOThread* io_thread,
net::URLRequestContextGetter* getter,
ProfileIOData* profile_io_data);
@@ -151,8 +149,7 @@ class Predictor {
void PreconnectUrlAndSubresources(const GURL& url,
const GURL& first_party_for_cookies);
- static UrlList GetPredictedUrlListAtStartup(PrefService* user_prefs,
- PrefService* local_state);
+ static UrlList GetPredictedUrlListAtStartup(PrefService* user_prefs);
static void set_max_queueing_delay(int max_queueing_delay_ms);
@@ -610,7 +607,6 @@ class SimplePredictor : public Predictor {
: Predictor(preconnect_enabled, predictor_enabled) {}
~SimplePredictor() override {}
void InitNetworkPredictor(PrefService* user_prefs,
- PrefService* local_state,
IOThread* io_thread,
net::URLRequestContextGetter* getter,
ProfileIOData* profile_io_data) override;
« no previous file with comments | « AUTHORS ('k') | chrome/browser/net/predictor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698