| Index: chrome/browser/extensions/system_info_watcher_linux.cc
|
| diff --git a/chrome/browser/extensions/system_info_watcher_linux.cc b/chrome/browser/extensions/system_info_watcher_linux.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4409e0e7cf4a540268bd634930cb9092c0623d93
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/system_info_watcher_linux.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 Linux platform.
|
| +class SystemInfoWatcherLinux : public SystemInfoWatcher {
|
| + public:
|
| + SystemInfoWatcherLinux();
|
| + virtual ~SystemInfoWatcherLinux();
|
| +
|
| + private:
|
| + virtual bool PlatformStartWatching(const std::string& event_name) OVERRIDE;
|
| + virtual bool PlatformStopWatching(const std::string& event_name) OVERRIDE;
|
| +};
|
| +
|
| +//
|
| +// SystemInfoWatcherLinux implementation.
|
| +//
|
| +
|
| +SystemInfoWatcherLinux::SystemInfoWatcherLinux() {
|
| +}
|
| +
|
| +SystemInfoWatcherLinux::~SystemInfoWatcherLinux() {
|
| +}
|
| +
|
| +bool SystemInfoWatcherLinux::PlatformStartWatching(
|
| + const std::string& event_name) {
|
| + return false;
|
| +}
|
| +
|
| +bool SystemInfoWatcherLinux::PlatformStopWatching(
|
| + const std::string& event_name) {
|
| + return false;
|
| +}
|
| +
|
| +// static
|
| +SystemInfoWatcher* SystemInfoWatcher::Get() {
|
| + return SystemInfoWatcher::GetInstance<SystemInfoWatcherLinux>();
|
| +}
|
| +
|
| +} // namespace extensions
|
|
|