| 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
| 15 #include "extensions/common/manifest_handlers/file_handler_info.h" | 15 #include "extensions/common/manifest_handlers/file_handler_info.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace extensions { | 19 namespace extensions { |
| 20 | 20 |
| 21 class ExtensionPrefs; | |
| 22 struct EntryInfo; | 21 struct EntryInfo; |
| 23 struct FileHandlerInfo; | 22 struct FileHandlerInfo; |
| 24 struct GrantedFileEntry; | 23 struct GrantedFileEntry; |
| 25 | 24 |
| 26 // TODO(benwells): move this to platform_apps namespace. | 25 // TODO(benwells): move this to platform_apps namespace. |
| 27 namespace app_file_handler_util { | 26 namespace app_file_handler_util { |
| 28 | 27 |
| 29 extern const char kInvalidParameters[]; | 28 extern const char kInvalidParameters[]; |
| 30 extern const char kSecurityError[]; | 29 extern const char kSecurityError[]; |
| 31 | 30 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 const std::string& filesystem_path, | 75 const std::string& filesystem_path, |
| 77 int render_process_id, | 76 int render_process_id, |
| 78 base::FilePath* file_path, | 77 base::FilePath* file_path, |
| 79 std::string* error); | 78 std::string* error); |
| 80 | 79 |
| 81 } // namespace app_file_handler_util | 80 } // namespace app_file_handler_util |
| 82 | 81 |
| 83 } // namespace extensions | 82 } // namespace extensions |
| 84 | 83 |
| 85 #endif // CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ | 84 #endif // CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_APP_FILE_HANDLER_UTIL_H_ |
| OLD | NEW |