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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 357723003: Implement prediction_options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase. Created 6 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/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 540d5ddee9aa036a899c8194cb01ef7439380450..0060690b9c1173469184f41e7e0f100f08d7c959 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
#define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
+#include <map>
jkarlin 2014/06/26 16:28:52 why add this?
Bence 2014/06/26 20:02:06 git cl lint was complaining. Should I ignore it?
#include <string>
#include "base/basictypes.h"
@@ -185,10 +186,15 @@ class ProfileIOData {
return &signin_allowed_;
}
+ // TODO(bnc): remove per https://crbug.com/334602.
BooleanPrefMember* network_prediction_enabled() const {
return &network_prediction_enabled_;
}
+ IntegerPrefMember* allow_network_prediction() const {
+ return &allow_network_prediction_;
+ }
+
content::ResourceContext::SaltCallback GetMediaDeviceIDSalt() const;
DevToolsNetworkController* network_controller() const {
@@ -533,6 +539,7 @@ class ProfileIOData {
mutable BooleanPrefMember sync_disabled_;
mutable BooleanPrefMember signin_allowed_;
mutable BooleanPrefMember network_prediction_enabled_;
+ mutable IntegerPrefMember allow_network_prediction_;
// TODO(marja): Remove session_startup_pref_ if no longer needed.
mutable IntegerPrefMember session_startup_pref_;
mutable BooleanPrefMember quick_check_enabled_;

Powered by Google App Engine
This is Rietveld 408576698