Index: chrome/browser/extensions/system_info_watcher_win.cc |
diff --git a/chrome/browser/extensions/system_info_watcher_win.cc b/chrome/browser/extensions/system_info_watcher_win.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a6310128495deea79cf2dddfc23b4fb90035332 |
--- /dev/null |
+++ b/chrome/browser/extensions/system_info_watcher_win.cc |
@@ -0,0 +1,45 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/extensions/system_info_watcher.h" |
+ |
+namespace extensions { |
+ |
+// TODO(Hongbo): Add SystemInfoWatcher implementation on Windows platform. |
+class SystemInfoWatcherWin : public SystemInfoWatcher { |
+ public: |
+ SystemInfoWatcherWin(); |
+ virtual ~SystemInfoWatcherWin(); |
+ |
+ private: |
+ virtual bool PlatformStartWatching(const std::string& event_name) OVERRIDE; |
+ virtual bool PlatformStopWatching(const std::string& event_name) OVERRIDE; |
+}; |
+ |
+// |
+// SystemInfoWatcherWin implementation. |
+// |
+ |
+SystemInfoWatcherWin::SystemInfoWatcherWin() { |
+} |
+ |
+SystemInfoWatcherWin::~SystemInfoWatcherWin() { |
+} |
+ |
+bool SystemInfoWatcherWin::PlatformStartWatching( |
+ const std::string& event_name) { |
+ return false; |
+} |
+ |
+bool SystemInfoWatcherWin::PlatformStopWatching( |
+ const std::string& event_name) { |
+ return false; |
+} |
+ |
+// static |
+SystemInfoWatcher* SystemInfoWatcher::Get() { |
+ return SystemInfoWatcher::GetInstance<SystemInfoWatcherWin>(); |
+} |
+ |
+} // namespace extensions |