| 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 #include "chrome/browser/chromeos/file_manager/file_browser_handlers.h" | 5 #include "chrome/browser/chromeos/file_manager/file_browser_handlers.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/i18n/case_conversion.h" | 9 #include "base/i18n/case_conversion.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "chrome/browser/chromeos/drive/file_system_util.h" | 11 #include "chrome/browser/chromeos/drive/file_system_util.h" |
| 12 #include "chrome/browser/chromeos/file_manager/app_id.h" | 12 #include "chrome/browser/chromeos/file_manager/app_id.h" |
| 13 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 13 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
| 14 #include "chrome/browser/chromeos/file_manager/open_with_browser.h" | 14 #include "chrome/browser/chromeos/file_manager/open_with_browser.h" |
| 15 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" | 15 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" |
| 16 #include "chrome/browser/extensions/event_router.h" | 16 #include "chrome/browser/extensions/event_router.h" |
| 17 #include "chrome/browser/extensions/extension_host.h" | 17 #include "chrome/browser/extensions/extension_host.h" |
| 18 #include "chrome/browser/extensions/extension_service.h" | 18 #include "chrome/browser/extensions/extension_service.h" |
| 19 #include "chrome/browser/extensions/extension_system.h" | 19 #include "chrome/browser/extensions/extension_system.h" |
| 20 #include "chrome/browser/extensions/extension_util.h" | 20 #include "chrome/browser/extensions/extension_util.h" |
| 21 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
| 22 #include "chrome/browser/ui/browser_finder.h" | 22 #include "chrome/browser/ui/browser_finder.h" |
| 23 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" | 23 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle
r.h" |
| 24 #include "chrome/common/extensions/background_info.h" | |
| 25 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
| 26 #include "content/public/browser/child_process_security_policy.h" | 25 #include "content/public/browser/child_process_security_policy.h" |
| 27 #include "content/public/browser/render_process_host.h" | 26 #include "content/public/browser/render_process_host.h" |
| 28 #include "content/public/browser/site_instance.h" | 27 #include "content/public/browser/site_instance.h" |
| 29 #include "content/public/browser/web_contents.h" | 28 #include "content/public/browser/web_contents.h" |
| 30 #include "extensions/browser/lazy_background_task_queue.h" | 29 #include "extensions/browser/lazy_background_task_queue.h" |
| 30 #include "extensions/common/manifest_handlers/background_info.h" |
| 31 #include "net/base/escape.h" | 31 #include "net/base/escape.h" |
| 32 #include "webkit/browser/fileapi/file_system_context.h" | 32 #include "webkit/browser/fileapi/file_system_context.h" |
| 33 #include "webkit/browser/fileapi/file_system_url.h" | 33 #include "webkit/browser/fileapi/file_system_url.h" |
| 34 #include "webkit/common/fileapi/file_system_info.h" | 34 #include "webkit/common/fileapi/file_system_info.h" |
| 35 #include "webkit/common/fileapi/file_system_util.h" | 35 #include "webkit/common/fileapi/file_system_util.h" |
| 36 | 36 |
| 37 using content::BrowserThread; | 37 using content::BrowserThread; |
| 38 using content::ChildProcessSecurityPolicy; | 38 using content::ChildProcessSecurityPolicy; |
| 39 using content::SiteInstance; | 39 using content::SiteInstance; |
| 40 using content::WebContents; | 40 using content::WebContents; |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 common_handlers.erase(gallery_iter); | 546 common_handlers.erase(gallery_iter); |
| 547 else | 547 else |
| 548 common_handlers.erase(watch_iter); | 548 common_handlers.erase(watch_iter); |
| 549 } | 549 } |
| 550 | 550 |
| 551 return common_handlers; | 551 return common_handlers; |
| 552 } | 552 } |
| 553 | 553 |
| 554 } // namespace file_browser_handlers | 554 } // namespace file_browser_handlers |
| 555 } // namespace file_manager | 555 } // namespace file_manager |
| OLD | NEW |