| 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" |
| 11 #include "base/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "base/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "chrome/browser/chromeos/drive/file_system_util.h" | 14 #include "chrome/browser/chromeos/drive/file_system_util.h" |
| 15 #include "chrome/browser/chromeos/drive/file_task_executor.h" | 15 #include "chrome/browser/chromeos/drive/file_task_executor.h" |
| 16 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" | 16 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" |
| 17 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" | 17 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" |
| 18 #include "chrome/browser/extensions/event_router.h" | 18 #include "chrome/browser/extensions/event_router.h" |
| 19 #include "chrome/browser/extensions/extension_host.h" | 19 #include "chrome/browser/extensions/extension_host.h" |
| 20 #include "chrome/browser/extensions/extension_service.h" | 20 #include "chrome/browser/extensions/extension_service.h" |
| 21 #include "chrome/browser/extensions/extension_system.h" | 21 #include "chrome/browser/extensions/extension_system.h" |
| 22 #include "chrome/browser/extensions/extension_tab_util.h" | 22 #include "chrome/browser/extensions/extension_tab_util.h" |
| (...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 extensions::LaunchPlatformAppWithFileHandler(profile(), GetExtension(), | 970 extensions::LaunchPlatformAppWithFileHandler(profile(), GetExtension(), |
| 971 action_id_, file_urls[i].path()); | 971 action_id_, file_urls[i].path()); |
| 972 } | 972 } |
| 973 | 973 |
| 974 if (!done.is_null()) | 974 if (!done.is_null()) |
| 975 done.Run(true); | 975 done.Run(true); |
| 976 return true; | 976 return true; |
| 977 } | 977 } |
| 978 | 978 |
| 979 } // namespace file_handler_util | 979 } // namespace file_handler_util |
| OLD | NEW |