| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_SYSTEM_STORAGE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_SYSTEM_STORAGE_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_SYSTEM_STORAGE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_SYSTEM_STORAGE_API_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/api/system_storage/storage_info_provider.h" | 8 #include "chrome/browser/extensions/api/system_storage/storage_info_provider.h" |
| 9 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 #include "chrome/browser/storage_monitor/storage_monitor.h" | 10 #include "chrome/browser/storage_monitor/storage_monitor.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 protected: | 34 protected: |
| 35 virtual ~SystemStorageEjectDeviceFunction(); | 35 virtual ~SystemStorageEjectDeviceFunction(); |
| 36 | 36 |
| 37 // AsyncExtensionFunction overrides. | 37 // AsyncExtensionFunction overrides. |
| 38 virtual bool RunImpl() OVERRIDE; | 38 virtual bool RunImpl() OVERRIDE; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 void OnStorageMonitorInit(const std::string& transient_device_id); | 41 void OnStorageMonitorInit(const std::string& transient_device_id); |
| 42 | 42 |
| 43 // Eject device request handler. | 43 // Eject device request handler. |
| 44 void HandleResponse(chrome::StorageMonitor::EjectStatus status); | 44 void HandleResponse(StorageMonitor::EjectStatus status); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace extensions | 47 } // namespace extensions |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_SYSTEM_STORAGE_API_H_ | 49 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_SYSTEM_STORAGE_API_H_ |
| OLD | NEW |