OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 // String payload data. TODO(gbillock): should this be deprecated? | 43 // String payload data. TODO(gbillock): should this be deprecated? |
44 string16 unserialized_data; | 44 string16 unserialized_data; |
45 | 45 |
46 // The global message port IDs of any transferred MessagePorts. | 46 // The global message port IDs of any transferred MessagePorts. |
47 std::vector<int> message_port_ids; | 47 std::vector<int> message_port_ids; |
48 | 48 |
49 // The file of a payload blob. Together with |blob_length|, suitable | 49 // The file of a payload blob. Together with |blob_length|, suitable |
50 // arguments to WebBlob::createFromFile. Note: when mime_data has | 50 // arguments to WebBlob::createFromFile. Note: when mime_data has |
51 // length==1, this blob will be set as the 'blob' member of the first | 51 // length==1, this blob will be set as the 'blob' member of the first |
52 // object in the delivered data payload. | 52 // object in the delivered data payload. |
53 FilePath blob_file; | 53 base::FilePath blob_file; |
54 // Length of the blob. | 54 // Length of the blob. |
55 int64 blob_length; | 55 int64 blob_length; |
56 | 56 |
57 // List of values to be passed as MIME data. These will be encoded as a | 57 // List of values to be passed as MIME data. These will be encoded as a |
58 // serialized sequence of objects when delivered. Must contain | 58 // serialized sequence of objects when delivered. Must contain |
59 // DictionaryValues. | 59 // DictionaryValues. |
60 ListValue mime_data; | 60 ListValue mime_data; |
61 | 61 |
62 // Store the file system parameters to create a new file system. | 62 // Store the file system parameters to create a new file system. |
63 std::string root_name; | 63 std::string root_name; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 ~WebIntentData(); | 99 ~WebIntentData(); |
100 | 100 |
101 private: | 101 private: |
102 void operator=(const WebIntentData&); | 102 void operator=(const WebIntentData&); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace webkit_glue | 105 } // namespace webkit_glue |
106 | 106 |
107 #endif // WEBKIT_GLUE_WEB_INTENT_DATA_H_ | 107 #endif // WEBKIT_GLUE_WEB_INTENT_DATA_H_ |
OLD | NEW |