OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/event_router.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/thread_task_runner_handle.h" | |
18 #include "base/threading/sequenced_worker_pool.h" | 17 #include "base/threading/sequenced_worker_pool.h" |
| 18 #include "base/threading/thread_task_runner_handle.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "chrome/browser/app_mode/app_mode_utils.h" | 20 #include "chrome/browser/app_mode/app_mode_utils.h" |
21 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 21 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
22 #include "chrome/browser/chromeos/drive/file_system_util.h" | 22 #include "chrome/browser/chromeos/drive/file_system_util.h" |
23 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" | 23 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" |
24 #include "chrome/browser/chromeos/file_manager/app_id.h" | 24 #include "chrome/browser/chromeos/file_manager/app_id.h" |
25 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 25 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
26 #include "chrome/browser/chromeos/file_manager/open_util.h" | 26 #include "chrome/browser/chromeos/file_manager/open_util.h" |
27 #include "chrome/browser/chromeos/file_manager/volume_manager.h" | 27 #include "chrome/browser/chromeos/file_manager/volume_manager.h" |
28 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 28 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
977 void EventRouter::SetDispatchDirectoryChangeEventImplForTesting( | 977 void EventRouter::SetDispatchDirectoryChangeEventImplForTesting( |
978 const DispatchDirectoryChangeEventImplCallback& callback) { | 978 const DispatchDirectoryChangeEventImplCallback& callback) { |
979 dispatch_directory_change_event_impl_ = callback; | 979 dispatch_directory_change_event_impl_ = callback; |
980 } | 980 } |
981 | 981 |
982 base::WeakPtr<EventRouter> EventRouter::GetWeakPtr() { | 982 base::WeakPtr<EventRouter> EventRouter::GetWeakPtr() { |
983 return weak_factory_.GetWeakPtr(); | 983 return weak_factory_.GetWeakPtr(); |
984 } | 984 } |
985 | 985 |
986 } // namespace file_manager | 986 } // namespace file_manager |
OLD | NEW |