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

Unified Diff: chrome/browser/extensions/api/system_info_storage/storage_free_space_observer.h

Issue 18578008: [SystemInfo API] Move Storage API out of experimental namespace and rename to the "system" namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix PermissionTest unittest. Created 7 years, 5 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_free_space_observer.h
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_free_space_observer.h b/chrome/browser/extensions/api/system_info_storage/storage_free_space_observer.h
deleted file mode 100644
index 1d1957f5b74547ad76eb51411c63731e7e79c7f9..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/system_info_storage/storage_free_space_observer.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2013 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.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_STORAGE_STORAGE_FREE_SPACE_OBSERVER_H_
-#define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_STORAGE_STORAGE_FREE_SPACE_OBSERVER_H_
-
-#include <string>
-
-namespace extensions {
-
-// Observes the storage free space changes.
-//
-// StorageInfoProvider class maintains a StorageFreeSpaceObserver list for
-// storage devices' free space change event.
-class StorageFreeSpaceObserver {
- public:
- // Called when the storage free space changes.
- virtual void OnFreeSpaceChanged(const std::string& transient_id,
- double old_value, /* in bytes */
- double new_value /* in bytes */) = 0;
- protected:
- virtual ~StorageFreeSpaceObserver() {}
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_STORAGE_STORAGE_FREE_SPACE_OBSERVER_H_
-

Powered by Google App Engine
This is Rietveld 408576698