Chromium Code Reviews| Index: components/variations/android/variations_seed_bridge.cc |
| diff --git a/components/variations/android/variations_seed_bridge.cc b/components/variations/android/variations_seed_bridge.cc |
| index cf5cbe41db3ac65ff1fe91a503f42eb94c976575..f6049c3fdad59629522b57a3b6c0a12c3ab35e14 100644 |
| --- a/components/variations/android/variations_seed_bridge.cc |
| +++ b/components/variations/android/variations_seed_bridge.cc |
| @@ -55,5 +55,11 @@ void GetVariationsFirstRunSeed(std::string* seed_data, |
| *seed_country = ConvertJavaStringToUTF8(j_seed_country); |
| } |
| +void ClearJavaPrefs() { |
|
Alexei Svitkine (slow)
2015/11/12 16:30:11
Nit: ClearJavaFirstRunPrefs().
Alexander Agulenko
2015/11/12 17:40:25
Done.
|
| + JNIEnv* env = AttachCurrentThread(); |
| + Java_VariationsSeedBridge_clearVariationsFirstRunSeedPrefs( |
|
Alexei Svitkine (slow)
2015/11/12 16:30:11
In this case, since it's on VariationsSeedBridge,
Alexander Agulenko
2015/11/12 17:40:25
Done.
|
| + env, GetApplicationContext()); |
| +} |
| + |
| } // namespace android |
| } // namespace variations |