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_CHROMEOS_EXTENSIONS_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_
H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_
H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chromeos/disks/disk_mount_manager.h" | 10 #include "chromeos/disks/disk_mount_manager.h" |
11 | 11 |
12 namespace file_manager { | 12 namespace file_manager { |
13 | 13 |
14 struct VolumeInfo; | 14 struct VolumeInfo; |
15 | 15 |
16 // Observer interface of volume related events. | 16 // Observer interface of volume related events. |
(...skipping 19 matching lines...) Expand all Loading... |
36 virtual void OnFormatStarted( | 36 virtual void OnFormatStarted( |
37 const std::string& device_path, bool success) = 0; | 37 const std::string& device_path, bool success) = 0; |
38 | 38 |
39 // Fired when formatting a device is completed (or terminated on error). | 39 // Fired when formatting a device is completed (or terminated on error). |
40 virtual void OnFormatCompleted( | 40 virtual void OnFormatCompleted( |
41 const std::string& device_path, bool success) = 0; | 41 const std::string& device_path, bool success) = 0; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace file_manager | 44 } // namespace file_manager |
45 | 45 |
46 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_VOLUME_MANAGER_OBSERV
ER_H_ | 46 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_OBSERVER_H_ |
OLD | NEW |