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

Unified Diff: chrome/browser/intents/web_intent_data.h

Issue 7511005: Initial version of web intents registry (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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/intents/web_intent_data.h
diff --git a/chrome/browser/intents/web_intent_data.h b/chrome/browser/intents/web_intent_data.h
new file mode 100644
index 0000000000000000000000000000000000000000..ababce6213bf7a7eabb665267e86e2d3453dd833
--- /dev/null
+++ b/chrome/browser/intents/web_intent_data.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
+#define CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_
+#pragma once
+
+#include "base/string16.h"
+#include "googleurl/src/gurl.h"
+
+// Describes the relevant elements of a WebIntent.
+struct WebIntentData {
+ GURL service_url; // URL for service invocation.
James Hawkins 2011/08/04 17:34:51 Minimum two spaces before comment starts.
groby-ooo-7-16 2011/08/05 20:40:09 Done.
+ string16 action; // Name of action provided by service.
+ string16 type; // MIME type of data accepted by service.
+};
+
+#endif // CHROME_BROWSER_INTENTS_WEB_INTENT_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698