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

Unified Diff: webkit/glue/web_intent_data.h

Issue 10204010: Handling default service in the web intents picker controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: webkit/glue/web_intent_data.h
diff --git a/webkit/glue/web_intent_data.h b/webkit/glue/web_intent_data.h
index 686f604f22096a6dde266f29ccb78b69dfd5bd08..b1110fc9c7b538191b5a1e5ed01f6265d42221ea 100644
--- a/webkit/glue/web_intent_data.h
+++ b/webkit/glue/web_intent_data.h
@@ -9,6 +9,7 @@
#include "base/file_path.h"
#include "base/string16.h"
+#include "googleurl/src/gurl.h"
#include "webkit/glue/webkit_glue_export.h"
namespace WebKit {
@@ -29,6 +30,10 @@ struct WEBKIT_GLUE_EXPORT WebIntentData {
// Any extra key-value pair metadata. (Not serialized.)
std::map<string16, string16> extra_data;
+ // Set to the service page if this intent data is from an explicit intent
+ // invocation. |service|.is_valid will be false otherwise.
+ GURL service;
+
// String payload data.
string16 unserialized_data;

Powered by Google App Engine
This is Rietveld 408576698