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

Unified Diff: chrome/browser/android/firstrun/variations/variations_seed_bridge.h

Issue 1417733008: Java code for fetching variations first run seed after receiving chrome.TOS_ACKED broadcast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/android/firstrun/variations/variations_seed_bridge.h
diff --git a/chrome/browser/android/firstrun/variations/variations_seed_bridge.h b/chrome/browser/android/firstrun/variations/variations_seed_bridge.h
new file mode 100644
index 0000000000000000000000000000000000000000..07a20f6a90aa0348c8b9dd6e784baa9d17dbbe36
--- /dev/null
+++ b/chrome/browser/android/firstrun/variations/variations_seed_bridge.h
@@ -0,0 +1,21 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_ANDROID_FIRSTRUN_VARIATIONS_VARIATIONS_SEED_BRIDGE_H_
+#define CHROME_BROWSER_ANDROID_FIRSTRUN_VARIATIONS_VARIATIONS_SEED_BRIDGE_H_
+
+#include <jni.h>
+#include <string>
+
+class VariationsSeedBridge {
+ public:
+ static bool RegisterVariationsSeedBridge(JNIEnv* env);
+
+ // Return the first run seed data pulled from the Java side of application.
+ static void GetVariationsFirstRunSeed(std::string* seed_data,
Alexei Svitkine (slow) 2015/11/05 16:38:27 Can this be a standalone method instead of a stati
Alexander Agulenko 2015/11/06 08:09:01 Done.
+ std::string* seed_signature,
+ std::string* seed_country);
+};
+
+#endif // CHROME_BROWSER_ANDROID_FIRSTRUN_VARIATIONS_VARIATIONS_SEED_BRIDGE_H_

Powered by Google App Engine
This is Rietveld 408576698