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

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

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fully reverted extension_service.cc to original form 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.cc
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc
index 66466ff4130a45e8650dac77673ee1e231c8fe20..468d5cafa190656a9c75927dc5dead9554355c68 100644
--- a/chrome/browser/extensions/platform_app_launcher.cc
+++ b/chrome/browser/extensions/platform_app_launcher.cc
@@ -28,6 +28,7 @@
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
+#include "googleurl/src/gurl.h"
#include "net/base/mime_util.h"
#include "net/base/net_util.h"
#include "webkit/fileapi/file_system_types.h"
@@ -420,4 +421,13 @@ void RestartPlatformAppWithFileEntries(
launcher->Launch();
}
+void LaunchPlatformAppWithUrl(Profile* profile,
+ const Extension* extension,
+ const std::string& handler_id,
+ const GURL& url,
+ const GURL& referrer_url) {
+ extensions::AppEventRouter::DispatchOnLaunchedEventWithUrl(
+ profile, extension, handler_id, url, referrer_url);
not at google - send to devlin 2013/08/29 17:35:56 bleh, this file should hang of ExtensionSystem rat
sergeygs 2013/08/30 00:39:44 Done. I'm not sure it should hang off ExtensionSys
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698