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

Unified Diff: chrome/browser/extensions/api/app_runtime/app_runtime_api.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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/api/app_runtime/app_runtime_api.h
diff --git a/chrome/browser/extensions/api/app_runtime/app_runtime_api.h b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h
index 0611c49ae573542fa25cb1bd55ed8c1a0b94e239..7931e54590f01bbe4361dd4b7cd20f6f76e5c2f6 100644
--- a/chrome/browser/extensions/api/app_runtime/app_runtime_api.h
+++ b/chrome/browser/extensions/api/app_runtime/app_runtime_api.h
@@ -12,7 +12,6 @@ class Profile;
namespace content {
class WebContents;
-class WebIntentsDispatcher;
}
namespace extensions {
@@ -32,7 +31,6 @@ class AppEventRouter {
// the form:
// {
// "intent" : {
- // "action" : |action|,
// "type" : "chrome-extension://fileentry",
// "data" : a FileEntry,
// "postResults" : a null function,
@@ -46,20 +44,10 @@ class AppEventRouter {
static void DispatchOnLaunchedEventWithFileEntry(
Profile* profile,
const Extension* extension,
- const string16& action,
const std::string& handler_id,
const std::string& mime_type,
const std::string& file_system_id,
const std::string& base_name);
-
- // Dispatches the onLaunched event to the app implemented by |extension|
- // running in |profile|. The event parameter launchData will have a field
- // called intent, populated by |web_intent_data|.
- static void DispatchOnLaunchedEventWithWebIntent(
- Profile* profile,
- const Extension* extension,
- content::WebIntentsDispatcher* intents_dispatcher,
- content::WebContents* source);
};
class AppRuntimePostIntentResponseFunction : public SyncExtensionFunction {
Nico 2013/02/07 05:25:36 This is still here because as far as I understand
benwells 2013/02/07 06:00:03 I don't think so, it should be removed.
Nico 2013/02/07 06:20:23 If I delete the class, I get this error: gen/ch
benwells 2013/02/07 06:44:53 Yes you should delete that and the other intent st
Nico 2013/02/08 22:42:55 Done.

Powered by Google App Engine
This is Rietveld 408576698