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

Side by Side Diff: webkit/glue/web_intent_data.h

Issue 9186021: Update chromium code to use WebIntentRequest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEB_INTENT_DATA_H_ 5 #ifndef WEBKIT_GLUE_WEB_INTENT_DATA_H_
6 #define WEBKIT_GLUE_WEB_INTENT_DATA_H_ 6 #define WEBKIT_GLUE_WEB_INTENT_DATA_H_
7 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "webkit/glue/webkit_glue_export.h" 9 #include "webkit/glue/webkit_glue_export.h"
10 10
11 namespace WebKit { 11 namespace WebKit {
12 class WebIntent; 12 class WebIntentRequest;
13 } 13 }
14 14
15 namespace webkit_glue { 15 namespace webkit_glue {
16 16
17 // Representation of the Web Intent data being initiated or delivered. 17 // Representation of the Web Intent data being initiated or delivered.
18 struct WEBKIT_GLUE_EXPORT WebIntentData { 18 struct WEBKIT_GLUE_EXPORT WebIntentData {
19 // The action of the intent. 19 // The action of the intent.
20 string16 action; 20 string16 action;
21 // The MIME type of data in this intent payload. 21 // The MIME type of data in this intent payload.
22 string16 type; 22 string16 type;
23 // The representation of the payload data. Wire format is from 23 // The representation of the payload data. Wire format is from
24 // SerializedScriptObject. 24 // SerializedScriptObject.
25 string16 data; 25 string16 data;
26 26
27 WebIntentData(); 27 WebIntentData();
28 WebIntentData(const WebKit::WebIntent& intent); 28 WebIntentData(const WebKit::WebIntentRequest& intent);
29 ~WebIntentData(); 29 ~WebIntentData();
30 }; 30 };
31 31
32 } // namespace webkit_glue 32 } // namespace webkit_glue
33 33
34 #endif // WEBKIT_GLUE_WEB_INTENT_DATA_H_ 34 #endif // WEBKIT_GLUE_WEB_INTENT_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698