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

Unified Diff: components/variations/variations_seed_store.h

Issue 1438123002: Removed callbacks to JNI functions + added gzip compressed seed support & pulling response time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implemented the rest TODOs: pulling time from response and GZIP compressed seed support Created 5 years, 1 month 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: components/variations/variations_seed_store.h
diff --git a/components/variations/variations_seed_store.h b/components/variations/variations_seed_store.h
index 42a6a59c516804d67986f5bda8454fbeffa44ab8..d079a510e1ec0da84c3e1679e7caac4d1601a7e2 100644
--- a/components/variations/variations_seed_store.h
+++ b/components/variations/variations_seed_store.h
@@ -7,7 +7,6 @@
#include <string>
-#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/time/time.h"
@@ -21,9 +20,6 @@ class VariationsSeed;
namespace variations {
-typedef base::Callback<void(std::string*, std::string*, std::string*)>
- VariationsFirstRunSeedCallback;
-
// VariationsSeedStore is a helper class for reading and writing the variations
// seed from Local State.
class VariationsSeedStore {
@@ -79,13 +75,6 @@ class VariationsSeedStore {
// Registers Local State prefs used by this class.
static void RegisterPrefs(PrefRegistrySimple* registry);
- // Registers callback for pulling variations first run seed from Java side
- // in Chrome for Android.
- void SetVariationsFirstRunSeedCallback(
- const VariationsFirstRunSeedCallback& callback) {
- get_variations_first_run_seed_ = callback;
- }
-
protected:
// Note: UMA histogram enum - don't re-order or remove entries.
enum VerifySignatureResult {
@@ -151,8 +140,6 @@ class VariationsSeedStore {
// Keeps track of an invalid signature.
std::string invalid_base64_signature_;
- VariationsFirstRunSeedCallback get_variations_first_run_seed_;
-
DISALLOW_COPY_AND_ASSIGN(VariationsSeedStore);
};

Powered by Google App Engine
This is Rietveld 408576698