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

Unified Diff: chrome/browser/extensions/platform_app_launcher.h

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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: chrome/browser/extensions/platform_app_launcher.h
diff --git a/chrome/browser/extensions/platform_app_launcher.h b/chrome/browser/extensions/platform_app_launcher.h
index fc7965a720fe6feaf5cf83cbcc3cd3572582c546..5e3b2a590c9d01cf93e1f222f30a9d1f6afc807b 100644
--- a/chrome/browser/extensions/platform_app_launcher.h
+++ b/chrome/browser/extensions/platform_app_launcher.h
@@ -10,6 +10,7 @@
class CommandLine;
class Profile;
+class GURL;
namespace base {
class FilePath;
@@ -49,6 +50,14 @@ void LaunchPlatformAppWithFileHandler(Profile* profile,
const std::string& handler_id,
const base::FilePath& file_path);
+// Launches the platform app |extension| with URL |url| available through the
+// launch data.
+void LaunchPlatformAppWithURL(Profile* profile,
+ const Extension* extension,
+ const std::string& handler_id,
asargent_no_longer_on_chrome 2013/08/14 18:05:12 It would be helpful to have a comment above about
sergeygs 2013/08/18 11:40:24 Done.
+ const GURL& url,
+ const GURL& referrerUrl);
+
void RestartPlatformAppWithFileEntries(
Profile* profile,
const Extension* extension,

Powered by Google App Engine
This is Rietveld 408576698