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/extensions/file_manager/file_handler_util.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/file_handler_util.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/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "chrome/browser/ui/host_desktop.h" | 31 #include "chrome/browser/ui/host_desktop.h" |
32 #include "chrome/common/extensions/background_info.h" | 32 #include "chrome/common/extensions/background_info.h" |
33 #include "chrome/common/pref_names.h" | 33 #include "chrome/common/pref_names.h" |
34 #include "content/public/browser/browser_thread.h" | 34 #include "content/public/browser/browser_thread.h" |
35 #include "content/public/browser/child_process_security_policy.h" | 35 #include "content/public/browser/child_process_security_policy.h" |
36 #include "content/public/browser/render_process_host.h" | 36 #include "content/public/browser/render_process_host.h" |
37 #include "content/public/browser/site_instance.h" | 37 #include "content/public/browser/site_instance.h" |
38 #include "content/public/browser/storage_partition.h" | 38 #include "content/public/browser/storage_partition.h" |
39 #include "content/public/browser/web_contents.h" | 39 #include "content/public/browser/web_contents.h" |
40 #include "net/base/escape.h" | 40 #include "net/base/escape.h" |
| 41 #include "webkit/browser/chromeos/fileapi/cros_mount_point_provider.h" |
41 #include "webkit/browser/fileapi/file_system_context.h" | 42 #include "webkit/browser/fileapi/file_system_context.h" |
42 #include "webkit/browser/fileapi/file_system_url.h" | 43 #include "webkit/browser/fileapi/file_system_url.h" |
43 #include "webkit/browser/fileapi/isolated_context.h" | 44 #include "webkit/browser/fileapi/isolated_context.h" |
44 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" | |
45 #include "webkit/common/fileapi/file_system_util.h" | 45 #include "webkit/common/fileapi/file_system_util.h" |
46 | 46 |
47 using content::BrowserContext; | 47 using content::BrowserContext; |
48 using content::BrowserThread; | 48 using content::BrowserThread; |
49 using content::ChildProcessSecurityPolicy; | 49 using content::ChildProcessSecurityPolicy; |
50 using content::SiteInstance; | 50 using content::SiteInstance; |
51 using content::WebContents; | 51 using content::WebContents; |
52 using extensions::Extension; | 52 using extensions::Extension; |
53 using fileapi::FileSystemURL; | 53 using fileapi::FileSystemURL; |
54 | 54 |
(...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 extensions::LaunchPlatformAppWithFileHandler(profile(), GetExtension(), | 971 extensions::LaunchPlatformAppWithFileHandler(profile(), GetExtension(), |
972 action_id_, file_urls[i].path()); | 972 action_id_, file_urls[i].path()); |
973 } | 973 } |
974 | 974 |
975 if (!done.is_null()) | 975 if (!done.is_null()) |
976 done.Run(true); | 976 done.Run(true); |
977 return true; | 977 return true; |
978 } | 978 } |
979 | 979 |
980 } // namespace file_handler_util | 980 } // namespace file_handler_util |
OLD | NEW |