| 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 |
| 11 #include "base/files/file_path_watcher.h" | 11 #include "base/files/file_path_watcher.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 13 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
| 14 #include "chrome/browser/chromeos/drive/file_system_observer.h" | 14 #include "chrome/browser/chromeos/drive/file_system_observer.h" |
| 15 #include "chrome/browser/chromeos/drive/job_list.h" | 15 #include "chrome/browser/chromeos/drive/job_list.h" |
| 16 #include "chrome/browser/chromeos/extensions/file_manager/file_watcher.h" | |
| 17 #include "chrome/browser/chromeos/extensions/file_manager/volume_manager_observe
r.h" | 16 #include "chrome/browser/chromeos/extensions/file_manager/volume_manager_observe
r.h" |
| 17 #include "chrome/browser/chromeos/file_manager/file_watcher.h" |
| 18 #include "chrome/browser/drive/drive_service_interface.h" | 18 #include "chrome/browser/drive/drive_service_interface.h" |
| 19 #include "chromeos/disks/disk_mount_manager.h" | 19 #include "chromeos/disks/disk_mount_manager.h" |
| 20 #include "chromeos/network/network_state_handler_observer.h" | 20 #include "chromeos/network/network_state_handler_observer.h" |
| 21 | 21 |
| 22 class PrefChangeRegistrar; | 22 class PrefChangeRegistrar; |
| 23 class Profile; | 23 class Profile; |
| 24 | 24 |
| 25 namespace chromeos { | 25 namespace chromeos { |
| 26 class NetworkState; | 26 class NetworkState; |
| 27 } | 27 } |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 // Note: This should remain the last member so it'll be destroyed and | 173 // Note: This should remain the last member so it'll be destroyed and |
| 174 // invalidate the weak pointers before any other members are destroyed. | 174 // invalidate the weak pointers before any other members are destroyed. |
| 175 base::WeakPtrFactory<EventRouter> weak_factory_; | 175 base::WeakPtrFactory<EventRouter> weak_factory_; |
| 176 DISALLOW_COPY_AND_ASSIGN(EventRouter); | 176 DISALLOW_COPY_AND_ASSIGN(EventRouter); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace file_manager | 179 } // namespace file_manager |
| 180 | 180 |
| 181 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ | 181 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ |
| OLD | NEW |