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

Unified Diff: chrome/browser/metrics/variations/variations_seed_store.h

Issue 412943002: Move variations component code to variations namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/variations/variations_seed_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/variations/variations_seed_store.h
===================================================================
--- chrome/browser/metrics/variations/variations_seed_store.h (revision 285608)
+++ chrome/browser/metrics/variations/variations_seed_store.h (working copy)
@@ -14,10 +14,12 @@
class PrefService;
class PrefRegistrySimple;
+namespace variations {
+class VariationsSeed;
+}
+
namespace chrome_variations {
-class VariationsSeed;
-
// VariationsSeedStore is a helper class for reading and writing the variations
// seed from Local State.
class VariationsSeedStore {
@@ -28,7 +30,7 @@
// 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 @@
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.
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/metrics/variations/variations_seed_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698