Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2494)

Unified Diff: apps/browser/api/app_runtime/app_runtime_api.h

Issue 300063006: Files.app: Let Files.app pass mutliple files to file handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | apps/browser/api/app_runtime/app_runtime_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/browser/api/app_runtime/app_runtime_api.h
diff --git a/apps/browser/api/app_runtime/app_runtime_api.h b/apps/browser/api/app_runtime/app_runtime_api.h
index 829becf828f2183c8ec4289edc9f23432f2f3de5..6853696779fbc3a8fdbeb929aeaa0c015cf21e83 100644
--- a/apps/browser/api/app_runtime/app_runtime_api.h
+++ b/apps/browser/api/app_runtime/app_runtime_api.h
@@ -6,6 +6,7 @@
#define APPS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_
#include <string>
+#include <vector>
class GURL;
@@ -47,15 +48,15 @@ class AppEventRouter {
// }
// }
- // The FileEntry is created from |file_system_id| and |base_name|.
+ // The FileEntries are created from |file_system_id| and |base_name|.
// |handler_id| corresponds to the id of the file_handlers item in the
// manifest that resulted in a match which triggered this launch.
- static void DispatchOnLaunchedEventWithFileEntry(
+ static void DispatchOnLaunchedEventWithFileEntries(
content::BrowserContext* context,
const extensions::Extension* extension,
const std::string& handler_id,
- const std::string& mime_type,
- const file_handler_util::GrantedFileEntry& file_entry);
+ const std::vector<std::string>& mime_types,
+ const std::vector<file_handler_util::GrantedFileEntry>& file_entries);
// |handler_id| corresponds to the id of the url_handlers item
// in the manifest that resulted in a match which triggered this launch.
« no previous file with comments | « no previous file | apps/browser/api/app_runtime/app_runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698