| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EVENT_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void RemoveFileWatch(const base::FilePath& local_path, | 83 void RemoveFileWatch(const base::FilePath& local_path, |
| 84 const std::string& extension_id); | 84 const std::string& extension_id); |
| 85 | 85 |
| 86 // Called when a copy task is completed. | 86 // Called when a copy task is completed. |
| 87 void OnCopyCompleted( | 87 void OnCopyCompleted( |
| 88 int copy_id, const GURL& source_url, const GURL& destination_url, | 88 int copy_id, const GURL& source_url, const GURL& destination_url, |
| 89 base::File::Error error); | 89 base::File::Error error); |
| 90 | 90 |
| 91 // Called when a copy task progress is updated. | 91 // Called when a copy task progress is updated. |
| 92 void OnCopyProgress(int copy_id, | 92 void OnCopyProgress(int copy_id, |
| 93 fileapi::FileSystemOperation::CopyProgressType type, | 93 storage::FileSystemOperation::CopyProgressType type, |
| 94 const GURL& source_url, | 94 const GURL& source_url, |
| 95 const GURL& destination_url, | 95 const GURL& destination_url, |
| 96 int64 size); | 96 int64 size); |
| 97 | 97 |
| 98 // Register observer to the multi user window manager. | 98 // Register observer to the multi user window manager. |
| 99 void RegisterMultiUserWindowManagerObserver(); | 99 void RegisterMultiUserWindowManagerObserver(); |
| 100 | 100 |
| 101 // chromeos::NetworkStateHandlerObserver overrides. | 101 // chromeos::NetworkStateHandlerObserver overrides. |
| 102 virtual void DefaultNetworkChanged( | 102 virtual void DefaultNetworkChanged( |
| 103 const chromeos::NetworkState* network) OVERRIDE; | 103 const chromeos::NetworkState* network) OVERRIDE; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 // Note: This should remain the last member so it'll be destroyed and | 216 // Note: This should remain the last member so it'll be destroyed and |
| 217 // invalidate the weak pointers before any other members are destroyed. | 217 // invalidate the weak pointers before any other members are destroyed. |
| 218 base::WeakPtrFactory<EventRouter> weak_factory_; | 218 base::WeakPtrFactory<EventRouter> weak_factory_; |
| 219 DISALLOW_COPY_AND_ASSIGN(EventRouter); | 219 DISALLOW_COPY_AND_ASSIGN(EventRouter); |
| 220 }; | 220 }; |
| 221 | 221 |
| 222 } // namespace file_manager | 222 } // namespace file_manager |
| 223 | 223 |
| 224 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ | 224 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ |
| OLD | NEW |