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

Unified Diff: chrome/browser/android/preferences/pref_service_bridge.h

Issue 1417503010: Variations seed is pulled from the Java application on the first launch of Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fix: removed debug output Created 5 years, 2 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/android/preferences/pref_service_bridge.h
diff --git a/chrome/browser/android/preferences/pref_service_bridge.h b/chrome/browser/android/preferences/pref_service_bridge.h
index 656a0fece0d6ceaf990dffe96279d0912284badf..2ec502e4c34538304fe76575975616e337846a16 100644
--- a/chrome/browser/android/preferences/pref_service_bridge.h
+++ b/chrome/browser/android/preferences/pref_service_bridge.h
@@ -26,6 +26,15 @@ class PrefServiceBridge {
// ContentSettingsType specified (or an empty string if no permission exists).
static std::string GetAndroidPermissionForContentSetting(
ContentSettingsType content_type);
+
+ // Used to pull the first run seed parameters
+ // (seed signature and country code)
+ static std::string PullVariationsSeedPref(const std::string& prefName);
+
+private:
+ // Used to pull the first run seed in raw format as an array of bytes.
+ // It is private since it is being called from PullVariationsSeedPref().
+ static std::string PullRawVariationsSeed();
};
#endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREF_SERVICE_BRIDGE_H_

Powered by Google App Engine
This is Rietveld 408576698