| 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 <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "chrome/browser/extensions/extension_service.h" | 32 #include "chrome/browser/extensions/extension_service.h" |
| 33 #include "chrome/browser/extensions/extension_util.h" | 33 #include "chrome/browser/extensions/extension_util.h" |
| 34 #include "chrome/browser/profiles/profile.h" | 34 #include "chrome/browser/profiles/profile.h" |
| 35 #include "chrome/browser/profiles/profile_manager.h" | 35 #include "chrome/browser/profiles/profile_manager.h" |
| 36 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
| 37 #include "chrome/common/pref_names.h" | 37 #include "chrome/common/pref_names.h" |
| 38 #include "chromeos/dbus/dbus_thread_manager.h" | 38 #include "chromeos/dbus/dbus_thread_manager.h" |
| 39 #include "chromeos/login/login_state.h" | 39 #include "chromeos/login/login_state.h" |
| 40 #include "chromeos/network/network_handler.h" | 40 #include "chromeos/network/network_handler.h" |
| 41 #include "chromeos/network/network_state_handler.h" | 41 #include "chromeos/network/network_state_handler.h" |
| 42 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" |
| 42 #include "components/drive/chromeos/file_system_interface.h" | 43 #include "components/drive/chromeos/file_system_interface.h" |
| 43 #include "components/drive/drive_pref_names.h" | 44 #include "components/drive/drive_pref_names.h" |
| 44 #include "components/drive/file_change.h" | 45 #include "components/drive/file_change.h" |
| 45 #include "components/drive/service/drive_service_interface.h" | 46 #include "components/drive/service/drive_service_interface.h" |
| 46 #include "components/prefs/pref_change_registrar.h" | 47 #include "components/prefs/pref_change_registrar.h" |
| 47 #include "components/prefs/pref_service.h" | 48 #include "components/prefs/pref_service.h" |
| 48 #include "content/public/browser/browser_thread.h" | 49 #include "content/public/browser/browser_thread.h" |
| 49 #include "content/public/browser/render_process_host.h" | 50 #include "content/public/browser/render_process_host.h" |
| 50 #include "content/public/browser/storage_partition.h" | 51 #include "content/public/browser/storage_partition.h" |
| 51 #include "extensions/browser/event_router.h" | 52 #include "extensions/browser/event_router.h" |
| (...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 void EventRouter::SetDispatchDirectoryChangeEventImplForTesting( | 1007 void EventRouter::SetDispatchDirectoryChangeEventImplForTesting( |
| 1007 const DispatchDirectoryChangeEventImplCallback& callback) { | 1008 const DispatchDirectoryChangeEventImplCallback& callback) { |
| 1008 dispatch_directory_change_event_impl_ = callback; | 1009 dispatch_directory_change_event_impl_ = callback; |
| 1009 } | 1010 } |
| 1010 | 1011 |
| 1011 base::WeakPtr<EventRouter> EventRouter::GetWeakPtr() { | 1012 base::WeakPtr<EventRouter> EventRouter::GetWeakPtr() { |
| 1012 return weak_factory_.GetWeakPtr(); | 1013 return weak_factory_.GetWeakPtr(); |
| 1013 } | 1014 } |
| 1014 | 1015 |
| 1015 } // namespace file_manager | 1016 } // namespace file_manager |
| OLD | NEW |