Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / metrics / variations / variations_seed_store.h
index d7ac31d..c81b15e 100644 (file)
 class PrefService;
 class PrefRegistrySimple;
 
-namespace chrome_variations {
-
+namespace variations {
 class VariationsSeed;
+}
+
+namespace chrome_variations {
 
 // VariationsSeedStore is a helper class for reading and writing the variations
 // seed from Local State.
@@ -28,7 +30,7 @@ class VariationsSeedStore {
   // Loads the variations seed data from local state into |seed|. If there is a
   // problem with loading, the pref value is cleared and false is returned. If
   // successful, |seed| will contain the loaded data and true is returned.
-  bool LoadSeed(VariationsSeed* seed);
+  bool LoadSeed(variations::VariationsSeed* seed);
 
   // Stores the given seed data (serialized protobuf data) to local state, along
   // with a base64-encoded digital signature for seed and the date when it was
@@ -39,7 +41,7 @@ class VariationsSeedStore {
   bool StoreSeedData(const std::string& seed_data,
                      const std::string& base64_seed_signature,
                      const base::Time& date_fetched,
-                     VariationsSeed* parsed_seed);
+                     variations::VariationsSeed* parsed_seed);
 
   // Updates |kVariationsSeedDate| and logs when previous date was from a
   // different day.