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

Unified Diff: chromeos/system/fake_statistics_provider.h

Issue 2297193007: mash: Provide a fake chromeos StatisticsProvider in ash (Closed)
Patch Set: build file Created 4 years, 3 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 | « chromeos/chromeos.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/fake_statistics_provider.h
diff --git a/chromeos/system/fake_statistics_provider.h b/chromeos/system/fake_statistics_provider.h
index 78c540cfa616bea67d030ffe7ed1094cc1cbca2d..0de996b5cc6b898c21bc20b85b5b5eb2e0e3dd63 100644
--- a/chromeos/system/fake_statistics_provider.h
+++ b/chromeos/system/fake_statistics_provider.h
@@ -9,13 +9,14 @@
#include <string>
#include "base/macros.h"
+#include "chromeos/chromeos_export.h"
#include "chromeos/system/statistics_provider.h"
namespace chromeos {
namespace system {
// A fake StatisticsProvider implementation that is useful in tests.
-class FakeStatisticsProvider : public StatisticsProvider {
+class CHROMEOS_EXPORT FakeStatisticsProvider : public StatisticsProvider {
public:
FakeStatisticsProvider();
~FakeStatisticsProvider() override;
@@ -44,7 +45,8 @@ class FakeStatisticsProvider : public StatisticsProvider {
// A convenience subclass that automatically registers itself as the test
// StatisticsProvider during construction and cleans up at destruction.
-class ScopedFakeStatisticsProvider : public FakeStatisticsProvider {
+class CHROMEOS_EXPORT ScopedFakeStatisticsProvider
+ : public FakeStatisticsProvider {
public:
ScopedFakeStatisticsProvider();
~ScopedFakeStatisticsProvider() override;
« no previous file with comments | « chromeos/chromeos.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698