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

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

Issue 421663003: Move variations component code to variations namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix 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
Index: chrome/browser/metrics/variations/variations_service.h
===================================================================
--- chrome/browser/metrics/variations/variations_service.h (revision 285608)
+++ chrome/browser/metrics/variations/variations_service.h (working copy)
@@ -41,10 +41,12 @@
class PrefRegistrySyncable;
}
+namespace variations {
+class VariationsSeed;
+}
+
namespace chrome_variations {
-class VariationsSeed;
-
// Used to setup field trials based on stored variations seed data, and fetch
// new seed data from the variations server.
class VariationsService
@@ -162,7 +164,8 @@
void FetchVariationsSeed();
// Notify any observers of this service based on the simulation |result|.
- void NotifyObservers(const VariationsSeedSimulator::Result& result);
+ void NotifyObservers(
+ const variations::VariationsSeedSimulator::Result& result);
// net::URLFetcherDelegate implementation:
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
@@ -172,7 +175,7 @@
// Performs a variations seed simulation with the given |seed| and |version|
// and logs the simulation results as histograms.
- void PerformSimulationWithVersion(scoped_ptr<VariationsSeed> seed,
+ void PerformSimulationWithVersion(scoped_ptr<variations::VariationsSeed> seed,
const base::Version& version);
// Record the time of the most recent successful fetch.

Powered by Google App Engine
This is Rietveld 408576698