| 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/extensions/api/file_system/file_system_api.h" | 5 #include "chrome/browser/extensions/api/file_system/file_system_api.h" |
| 6 | 6 |
| 7 #include "apps/app_window.h" | 7 #include "apps/app_window.h" |
| 8 #include "apps/app_window_registry.h" | 8 #include "apps/app_window_registry.h" |
| 9 #include "apps/saved_files_service.h" | 9 #include "apps/saved_files_service.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
| 17 #include "base/strings/sys_string_conversions.h" | 17 #include "base/strings/sys_string_conversions.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "base/value_conversions.h" | 19 #include "base/value_conversions.h" |
| 20 #include "base/values.h" | 20 #include "base/values.h" |
| 21 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" | 21 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" |
| 22 #include "chrome/browser/extensions/extension_service.h" | 22 #include "chrome/browser/extensions/extension_service.h" |
| 23 #include "chrome/browser/extensions/path_util.h" | 23 #include "chrome/browser/extensions/path_util.h" |
| 24 #include "chrome/browser/platform_util.h" | 24 #include "chrome/browser/platform_util.h" |
| 25 #include "chrome/browser/profiles/profile.h" | 25 #include "chrome/browser/profiles/profile.h" |
| 26 #include "chrome/browser/ui/apps/directory_access_confirmation_dialog.h" | 26 #include "chrome/browser/ui/apps/directory_access_confirmation_dialog.h" |
| 27 #include "chrome/browser/ui/chrome_select_file_policy.h" | 27 #include "chrome/browser/ui/chrome_select_file_policy.h" |
| 28 #include "chrome/common/chrome_paths.h" | 28 #include "chrome/common/chrome_paths.h" |
| 29 #include "chrome/common/extensions/api/file_system.h" | 29 #include "chrome/common/extensions/api/file_system.h" |
| 30 #include "chrome/grit/generated_resources.h" |
| 30 #include "content/public/browser/browser_thread.h" | 31 #include "content/public/browser/browser_thread.h" |
| 31 #include "content/public/browser/child_process_security_policy.h" | 32 #include "content/public/browser/child_process_security_policy.h" |
| 32 #include "content/public/browser/render_process_host.h" | 33 #include "content/public/browser/render_process_host.h" |
| 33 #include "content/public/browser/render_view_host.h" | 34 #include "content/public/browser/render_view_host.h" |
| 34 #include "content/public/browser/web_contents.h" | 35 #include "content/public/browser/web_contents.h" |
| 35 #include "extensions/browser/extension_prefs.h" | 36 #include "extensions/browser/extension_prefs.h" |
| 36 #include "extensions/browser/extension_system.h" | 37 #include "extensions/browser/extension_system.h" |
| 37 #include "extensions/browser/granted_file_entry.h" | 38 #include "extensions/browser/granted_file_entry.h" |
| 38 #include "extensions/common/permissions/api_permission.h" | 39 #include "extensions/common/permissions/api_permission.h" |
| 39 #include "extensions/common/permissions/permissions_data.h" | 40 #include "extensions/common/permissions/permissions_data.h" |
| 40 #include "grit/generated_resources.h" | |
| 41 #include "net/base/mime_util.h" | 41 #include "net/base/mime_util.h" |
| 42 #include "ui/base/l10n/l10n_util.h" | 42 #include "ui/base/l10n/l10n_util.h" |
| 43 #include "ui/shell_dialogs/select_file_dialog.h" | 43 #include "ui/shell_dialogs/select_file_dialog.h" |
| 44 #include "ui/shell_dialogs/selected_file_info.h" | 44 #include "ui/shell_dialogs/selected_file_info.h" |
| 45 #include "webkit/browser/fileapi/external_mount_points.h" | 45 #include "webkit/browser/fileapi/external_mount_points.h" |
| 46 #include "webkit/browser/fileapi/isolated_context.h" | 46 #include "webkit/browser/fileapi/isolated_context.h" |
| 47 #include "webkit/common/fileapi/file_system_types.h" | 47 #include "webkit/common/fileapi/file_system_types.h" |
| 48 #include "webkit/common/fileapi/file_system_util.h" | 48 #include "webkit/common/fileapi/file_system_util.h" |
| 49 | 49 |
| 50 #if defined(OS_MACOSX) | 50 #if defined(OS_MACOSX) |
| (...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 return false; | 942 return false; |
| 943 } | 943 } |
| 944 | 944 |
| 945 bool FileSystemGetObservedEntriesFunction::RunSync() { | 945 bool FileSystemGetObservedEntriesFunction::RunSync() { |
| 946 NOTIMPLEMENTED(); | 946 NOTIMPLEMENTED(); |
| 947 error_ = kUnknownIdError; | 947 error_ = kUnknownIdError; |
| 948 return false; | 948 return false; |
| 949 } | 949 } |
| 950 | 950 |
| 951 } // namespace extensions | 951 } // namespace extensions |
| OLD | NEW |