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

Unified Diff: chrome/browser/chromeos/system/mock_statistics_provider.h

Issue 10078017: Added asynchronous notification of readiness to the StatisticsProvider, and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Load hardware_class when available without delaying init of MetricsService Created 8 years, 8 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/chromeos/system/mock_statistics_provider.h
diff --git a/chrome/browser/chromeos/system/mock_statistics_provider.h b/chrome/browser/chromeos/system/mock_statistics_provider.h
index e0acd0a6ecf3a6d9fea08bcac21e753ef8f5e648..3b057e504a127d34679adb13855d9600ada32a61 100644
--- a/chrome/browser/chromeos/system/mock_statistics_provider.h
+++ b/chrome/browser/chromeos/system/mock_statistics_provider.h
@@ -21,6 +21,8 @@ class MockStatisticsProvider : public system::StatisticsProvider {
MOCK_METHOD2(GetMachineStatistic, bool(const std::string& name,
std::string* result));
+ MOCK_METHOD1(WhenReady, void(const base::Closure& callback));
+
private:
DISALLOW_COPY_AND_ASSIGN(MockStatisticsProvider);
};

Powered by Google App Engine
This is Rietveld 408576698