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

Unified Diff: chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux.cc

Issue 10836341: Add the basic code skeleton for system info event router (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Refine the implementations for storage event. Created 8 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
Index: chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux.cc
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux.cc b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux.cc
index 43790f99a0c3bcf6c1ae19bf0205088791f152b5..a61b3c36cd40900d1e929e9711395f903fb851fd 100644
--- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux.cc
+++ b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux.cc
@@ -19,20 +19,31 @@ class StorageInfoProviderLinux : public StorageInfoProvider {
virtual ~StorageInfoProviderLinux() {}
virtual bool QueryInfo(StorageInfo* info) OVERRIDE;
- virtual bool QueryUnitInfo(const std::string& id,
+ virtual bool QueryUnitInfo(const FilePath::StringType& path,
StorageUnitInfo* info) OVERRIDE;
+ private:
+ virtual bool PlatformStartWatching(Delegate* delegate) OVERRIDE;
+ virtual bool PlatformStopWatching() OVERRIDE;
};
bool StorageInfoProviderLinux::QueryInfo(StorageInfo* info) {
return false;
}
-bool StorageInfoProviderLinux::QueryUnitInfo(const std::string& id,
+bool StorageInfoProviderLinux::QueryUnitInfo(const FilePath::StringType& path,
StorageUnitInfo* info) {
return false;
}
-} // namespace
+bool StorageInfoProviderLinux::PlatformStartWatching(Delegate* delegate) {
+ return false;
+}
+
+bool StorageInfoProviderLinux::PlatformStopWatching() {
+ return false;
+}
+
+} // namespace
// static
StorageInfoProvider* StorageInfoProvider::Get() {

Powered by Google App Engine
This is Rietveld 408576698