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

Unified Diff: chrome/browser/metrics/variations/variations_service.h

Issue 183003008: Enforce variations signature verification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 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/metrics/variations/variations_service.h
===================================================================
--- chrome/browser/metrics/variations/variations_service.h (revision 255631)
+++ chrome/browser/metrics/variations/variations_service.h (working copy)
@@ -96,6 +96,12 @@
// the response.
virtual void DoActualFetch();
+ // Stores the seed to prefs. Set as virtual and protected so that it can be
+ // overridden by tests.
+ virtual void StoreSeed(const std::string& seed_data,
+ const std::string& seed_signature,
+ const base::Time& date_fetched);
+
// This constructor exists for injecting a mock notifier. It is meant for
// testing only. This instance will take ownership of |notifier|.
VariationsService(ResourceRequestAllowedNotifier* notifier,

Powered by Google App Engine
This is Rietveld 408576698