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

Unified Diff: base/test/power_monitor_test_base.h

Issue 22482002: Moved power_monitor_test_base to a more appropriate location (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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 | « base/power_monitor/power_monitor_unittest.cc ('k') | base/test/power_monitor_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/power_monitor_test_base.h
diff --git a/base/power_monitor/power_monitor_test_base.h b/base/test/power_monitor_test_base.h
similarity index 83%
rename from base/power_monitor/power_monitor_test_base.h
rename to base/test/power_monitor_test_base.h
index 6f82fc08e0e76ca033710316aaf0e81fb8a0b4af..95b530e5047750558431a21b706d2296a600effb 100644
--- a/base/power_monitor/power_monitor_test_base.h
+++ b/base/test/power_monitor_test_base.h
@@ -2,13 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef BASE_TEST_POWER_MONITOR_TEST_BASE_H_
+#define BASE_TEST_POWER_MONITOR_TEST_BASE_H_
+
#include "base/message_loop/message_loop.h"
#include "base/power_monitor/power_monitor.h"
#include "base/power_monitor/power_monitor_source.h"
namespace base {
-class BASE_EXPORT PowerMonitorTestSource : public PowerMonitorSource {
+class PowerMonitorTestSource : public PowerMonitorSource {
public:
PowerMonitorTestSource();
virtual ~PowerMonitorTestSource();
@@ -24,7 +27,7 @@ class BASE_EXPORT PowerMonitorTestSource : public PowerMonitorSource {
MessageLoop message_loop_;
};
-class BASE_EXPORT PowerMonitorTestObserver : public PowerObserver {
+class PowerMonitorTestObserver : public PowerObserver {
public:
PowerMonitorTestObserver();
virtual ~PowerMonitorTestObserver();
@@ -47,4 +50,6 @@ class BASE_EXPORT PowerMonitorTestObserver : public PowerObserver {
int resumes_; // Count of OnResume notifications.
};
-} // namespace base
+} // namespace base
+
+#endif // BASE_TEST_POWER_MONITOR_TEST_BASE_H_
« no previous file with comments | « base/power_monitor/power_monitor_unittest.cc ('k') | base/test/power_monitor_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698