| 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_APP_RUNTIME_APP_RUNTIME_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
| 7 | 7 |
| 8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "chrome/browser/extensions/extension_function.h" | 9 #include "chrome/browser/extensions/extension_function.h" |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // } | 46 // } |
| 47 | 47 |
| 48 // launchData.intent.data and launchData.intent.postResults are created in a | 48 // launchData.intent.data and launchData.intent.postResults are created in a |
| 49 // custom dispatch event in javascript. The FileEntry is created from | 49 // custom dispatch event in javascript. The FileEntry is created from |
| 50 // |file_system_id| and |base_name|. | 50 // |file_system_id| and |base_name|. |
| 51 static void DispatchOnLaunchedEventWithFileEntry( | 51 static void DispatchOnLaunchedEventWithFileEntry( |
| 52 Profile* profile, | 52 Profile* profile, |
| 53 const Extension* extension, | 53 const Extension* extension, |
| 54 const std::string& handler_id, | 54 const std::string& handler_id, |
| 55 const std::string& mime_type, | 55 const std::string& mime_type, |
| 56 const std::string& file_system_id, | 56 const extensions::app_file_handler_util::GrantedFileEntry& file_entry); |
| 57 const std::string& base_name); | |
| 58 }; | 57 }; |
| 59 | 58 |
| 60 } // namespace extensions | 59 } // namespace extensions |
| 61 | 60 |
| 62 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ | 61 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
| OLD | NEW |