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

Unified Diff: components/variations/android/variations_seed_bridge.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/android/variations_seed_bridge.h
diff --git a/components/variations/android/variations_seed_bridge.h b/components/variations/android/variations_seed_bridge.h
index 83381fa4837e4c9678f041aaee40d7619348629e..c5cd183333c5dc8acfe4fbe4cee0dedc6c9bebba 100644
--- a/components/variations/android/variations_seed_bridge.h
+++ b/components/variations/android/variations_seed_bridge.h
@@ -8,6 +8,8 @@
#include <jni.h>
#include <string>
+#include "base/time/time.h"
+
namespace variations {
namespace android {
@@ -16,7 +18,9 @@ bool RegisterVariationsSeedBridge(JNIEnv* env);
// Return the first run seed data pulled from the Java side of application.
void GetVariationsFirstRunSeed(std::string* seed_data,
std::string* seed_signature,
- std::string* seed_country);
+ std::string* seed_country,
+ base::Time* response_time,
+ bool* is_gzip_compressed);
} // namespace android
} // namespace variations

Powered by Google App Engine
This is Rietveld 408576698