| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 void OnCopyCompleted( | 74 void OnCopyCompleted( |
| 75 int copy_id, const GURL& url, base::PlatformFileError error); | 75 int copy_id, const GURL& url, base::PlatformFileError error); |
| 76 | 76 |
| 77 // Called when a copy task progress is updated. | 77 // Called when a copy task progress is updated. |
| 78 void OnCopyProgress(int copy_id, | 78 void OnCopyProgress(int copy_id, |
| 79 fileapi::FileSystemOperation::CopyProgressType type, | 79 fileapi::FileSystemOperation::CopyProgressType type, |
| 80 const GURL& url, | 80 const GURL& url, |
| 81 int64 size); | 81 int64 size); |
| 82 | 82 |
| 83 // chromeos::NetworkStateHandlerObserver overrides. | 83 // chromeos::NetworkStateHandlerObserver overrides. |
| 84 virtual void NetworkManagerChanged() OVERRIDE; | |
| 85 virtual void DefaultNetworkChanged( | 84 virtual void DefaultNetworkChanged( |
| 86 const chromeos::NetworkState* network) OVERRIDE; | 85 const chromeos::NetworkState* network) OVERRIDE; |
| 87 | 86 |
| 88 // drive::JobListObserver overrides. | 87 // drive::JobListObserver overrides. |
| 89 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE; | 88 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE; |
| 90 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE; | 89 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE; |
| 91 virtual void OnJobDone(const drive::JobInfo& job_info, | 90 virtual void OnJobDone(const drive::JobInfo& job_info, |
| 92 drive::FileError error) OVERRIDE; | 91 drive::FileError error) OVERRIDE; |
| 93 | 92 |
| 94 // drive::DriveServiceObserver overrides. | 93 // drive::DriveServiceObserver overrides. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 159 |
| 161 // Note: This should remain the last member so it'll be destroyed and | 160 // Note: This should remain the last member so it'll be destroyed and |
| 162 // invalidate the weak pointers before any other members are destroyed. | 161 // invalidate the weak pointers before any other members are destroyed. |
| 163 base::WeakPtrFactory<EventRouter> weak_factory_; | 162 base::WeakPtrFactory<EventRouter> weak_factory_; |
| 164 DISALLOW_COPY_AND_ASSIGN(EventRouter); | 163 DISALLOW_COPY_AND_ASSIGN(EventRouter); |
| 165 }; | 164 }; |
| 166 | 165 |
| 167 } // namespace file_manager | 166 } // namespace file_manager |
| 168 | 167 |
| 169 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ | 168 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ |
| OLD | NEW |