Chromium Code Reviews| 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_ |