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

Unified Diff: apps/launcher.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: Add a test for mixed entries. Created 6 years, 7 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
Index: apps/launcher.h
diff --git a/apps/launcher.h b/apps/launcher.h
index d41f51780d23876d55147fd3eda1b123bc3aa136..eb2d98fb265bb0bd33daa6a89aa9f63343f23c18 100644
--- a/apps/launcher.h
+++ b/apps/launcher.h
@@ -6,6 +6,7 @@
#define APPS_LAUNCHER_H_
#include <string>
+#include <vector>
class GURL;
class Profile;
@@ -41,13 +42,14 @@ void LaunchPlatformApp(Profile* profile,
const extensions::Extension* extension);
// Launches the platform app |extension| with |handler_id| and the contents of
-// |file_path| available through the launch data. |handler_id| corresponds to
+// |file_paths| available through the launch data. |handler_id| corresponds to
// the id of the file_handlers item in the manifest that resulted in a match
// that triggered this launch.
-void LaunchPlatformAppWithFileHandler(Profile* profile,
- const extensions::Extension* extension,
- const std::string& handler_id,
- const base::FilePath& file_path);
+void LaunchPlatformAppWithFileHandler(
+ Profile* profile,
+ const extensions::Extension* extension,
+ const std::string& handler_id,
+ const std::vector<base::FilePath>& file_paths);
// Launches the platform app |extension| with |handler_id|, |url| and
// |referrer_url| available through the launch data. |handler_id| corresponds to

Powered by Google App Engine
This is Rietveld 408576698