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_FILE_MANAGER_EVENT_ROUTE
R_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE
R_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE
R_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE
R_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 chromeos::MountError error_code, | 86 chromeos::MountError error_code, |
87 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) | 87 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) |
88 OVERRIDE; | 88 OVERRIDE; |
89 virtual void OnFormatEvent( | 89 virtual void OnFormatEvent( |
90 chromeos::disks::DiskMountManager::FormatEvent event, | 90 chromeos::disks::DiskMountManager::FormatEvent event, |
91 chromeos::FormatError error_code, | 91 chromeos::FormatError error_code, |
92 const std::string& device_path) OVERRIDE; | 92 const std::string& device_path) OVERRIDE; |
93 | 93 |
94 // chromeos::ConnectivityStateHelperObserver override. | 94 // chromeos::ConnectivityStateHelperObserver override. |
95 virtual void NetworkManagerChanged() OVERRIDE; | 95 virtual void NetworkManagerChanged() OVERRIDE; |
| 96 virtual void DefaultNetworkChanged() OVERRIDE; |
96 | 97 |
97 // drive::JobListObserver overrides. | 98 // drive::JobListObserver overrides. |
98 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE; | 99 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE; |
99 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE; | 100 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE; |
100 virtual void OnJobDone(const drive::JobInfo& job_info, | 101 virtual void OnJobDone(const drive::JobInfo& job_info, |
101 drive::FileError error) OVERRIDE; | 102 drive::FileError error) OVERRIDE; |
102 | 103 |
103 // drive::DriveServiceObserver overrides. | 104 // drive::DriveServiceObserver overrides. |
104 virtual void OnRefreshTokenInvalid() OVERRIDE; | 105 virtual void OnRefreshTokenInvalid() OVERRIDE; |
105 | 106 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 scoped_ptr<SuspendStateDelegate> suspend_state_delegate_; | 223 scoped_ptr<SuspendStateDelegate> suspend_state_delegate_; |
223 Profile* profile_; | 224 Profile* profile_; |
224 | 225 |
225 // Note: This should remain the last member so it'll be destroyed and | 226 // Note: This should remain the last member so it'll be destroyed and |
226 // invalidate the weak pointers before any other members are destroyed. | 227 // invalidate the weak pointers before any other members are destroyed. |
227 base::WeakPtrFactory<FileManagerEventRouter> weak_factory_; | 228 base::WeakPtrFactory<FileManagerEventRouter> weak_factory_; |
228 DISALLOW_COPY_AND_ASSIGN(FileManagerEventRouter); | 229 DISALLOW_COPY_AND_ASSIGN(FileManagerEventRouter); |
229 }; | 230 }; |
230 | 231 |
231 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_RO
UTER_H_ | 232 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_RO
UTER_H_ |
OLD | NEW |