| 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/string_util.h" |
| 12 #include "base/stringprintf.h" | 12 #include "base/stringprintf.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "chrome/browser/chromeos/drive/drive_file_system_util.h" | 14 #include "chrome/browser/chromeos/drive/drive_file_system_util.h" |
| 15 #include "chrome/browser/chromeos/drive/drive_task_executor.h" | 15 #include "chrome/browser/chromeos/drive/drive_task_executor.h" |
| 16 #include "chrome/browser/chromeos/extensions/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" |
| 23 #include "chrome/browser/extensions/lazy_background_task_queue.h" | 23 #include "chrome/browser/extensions/lazy_background_task_queue.h" |
| 24 #include "chrome/browser/extensions/platform_app_launcher.h" | 24 #include "chrome/browser/extensions/platform_app_launcher.h" |
| 25 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 25 #include "chrome/browser/prefs/scoped_user_pref_update.h" |
| 26 #include "chrome/browser/profiles/profile.h" | 26 #include "chrome/browser/profiles/profile.h" |
| (...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 extensions::LaunchPlatformAppWithFileHandler(profile(), GetExtension(), | 1006 extensions::LaunchPlatformAppWithFileHandler(profile(), GetExtension(), |
| 1007 action_id_, file_urls[i].path()); | 1007 action_id_, file_urls[i].path()); |
| 1008 } | 1008 } |
| 1009 | 1009 |
| 1010 if (!done.is_null()) | 1010 if (!done.is_null()) |
| 1011 done.Run(true); | 1011 done.Run(true); |
| 1012 return true; | 1012 return true; |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 } // namespace file_handler_util | 1015 } // namespace file_handler_util |
| OLD | NEW |