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

Unified Diff: net/nqe/network_qualities_prefs_manager.h

Issue 2487883002: NQE: Use cached estimates (Closed)
Patch Set: Rebased, ryansturm comments Created 4 years 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: net/nqe/network_qualities_prefs_manager.h
diff --git a/net/nqe/network_qualities_prefs_manager.h b/net/nqe/network_qualities_prefs_manager.h
index 591510968665cb4a7049a51a9e3957d4a5a0ada4..db315e364450dfff38ced366dffeade096467dd6 100644
--- a/net/nqe/network_qualities_prefs_manager.h
+++ b/net/nqe/network_qualities_prefs_manager.h
@@ -54,8 +54,8 @@ class NET_EXPORT NetworkQualitiesPrefsManager
// Sets the persistent pref to the given value.
virtual void SetDictionaryValue(const base::DictionaryValue& value) = 0;
- // Returns the peristent prefs.
- virtual const base::DictionaryValue& GetDictionaryValue() = 0;
+ // Returns a copy of the persistent prefs.
+ virtual std::unique_ptr<base::DictionaryValue> GetDictionaryValue() = 0;
};
// Creates an instance of the NetworkQualitiesPrefsManager. Ownership of

Powered by Google App Engine
This is Rietveld 408576698