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 "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/prefs/pref_change_registrar.h" | 10 #include "base/prefs/pref_change_registrar.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 #include "chromeos/login/login_state.h" | 38 #include "chromeos/login/login_state.h" |
39 #include "chromeos/network/network_handler.h" | 39 #include "chromeos/network/network_handler.h" |
40 #include "chromeos/network/network_state_handler.h" | 40 #include "chromeos/network/network_state_handler.h" |
41 #include "content/public/browser/browser_thread.h" | 41 #include "content/public/browser/browser_thread.h" |
42 #include "content/public/browser/render_process_host.h" | 42 #include "content/public/browser/render_process_host.h" |
43 #include "content/public/browser/storage_partition.h" | 43 #include "content/public/browser/storage_partition.h" |
44 #include "extensions/browser/event_router.h" | 44 #include "extensions/browser/event_router.h" |
45 #include "extensions/browser/extension_host.h" | 45 #include "extensions/browser/extension_host.h" |
46 #include "extensions/browser/extension_prefs.h" | 46 #include "extensions/browser/extension_prefs.h" |
47 #include "extensions/browser/extension_system.h" | 47 #include "extensions/browser/extension_system.h" |
48 #include "webkit/common/fileapi/file_system_types.h" | 48 #include "storage/common/fileapi/file_system_types.h" |
49 #include "webkit/common/fileapi/file_system_util.h" | 49 #include "storage/common/fileapi/file_system_util.h" |
50 | 50 |
51 using chromeos::disks::DiskMountManager; | 51 using chromeos::disks::DiskMountManager; |
52 using chromeos::NetworkHandler; | 52 using chromeos::NetworkHandler; |
53 using content::BrowserThread; | 53 using content::BrowserThread; |
54 using drive::DriveIntegrationService; | 54 using drive::DriveIntegrationService; |
55 using drive::DriveIntegrationServiceFactory; | 55 using drive::DriveIntegrationServiceFactory; |
56 using file_manager::util::EntryDefinition; | 56 using file_manager::util::EntryDefinition; |
57 using file_manager::util::FileDefinition; | 57 using file_manager::util::FileDefinition; |
58 | 58 |
59 namespace file_browser_private = extensions::api::file_browser_private; | 59 namespace file_browser_private = extensions::api::file_browser_private; |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 // Do nothing. | 930 // Do nothing. |
931 } | 931 } |
932 | 932 |
933 void EventRouter::OnFormatCompleted(const std::string& device_path, | 933 void EventRouter::OnFormatCompleted(const std::string& device_path, |
934 bool success) { | 934 bool success) { |
935 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 935 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
936 // Do nothing. | 936 // Do nothing. |
937 } | 937 } |
938 | 938 |
939 } // namespace file_manager | 939 } // namespace file_manager |
OLD | NEW |