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

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

Issue 12163003: Add FilePath to base namespace. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/web_intent_data.cc ('k') | webkit/glue/web_intent_reply_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_REPLY_DATA_H_ 5 #ifndef WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
6 #define WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_ 6 #define WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "webkit/glue/webkit_glue_export.h" 10 #include "webkit/glue/webkit_glue_export.h"
(...skipping 17 matching lines...) Expand all
28 28
29 // Sent if the service contents is closed without any response being sent. 29 // Sent if the service contents is closed without any response being sent.
30 WEB_INTENT_SERVICE_CONTENTS_CLOSED, 30 WEB_INTENT_SERVICE_CONTENTS_CLOSED,
31 }; 31 };
32 32
33 struct WEBKIT_GLUE_EXPORT WebIntentReply { 33 struct WEBKIT_GLUE_EXPORT WebIntentReply {
34 WebIntentReply(); 34 WebIntentReply();
35 WebIntentReply(WebIntentReplyType type, string16 data); 35 WebIntentReply(WebIntentReplyType type, string16 data);
36 WebIntentReply( 36 WebIntentReply(
37 WebIntentReplyType type, 37 WebIntentReplyType type,
38 FilePath data_file, 38 base::FilePath data_file,
39 int64 data_file_size); 39 int64 data_file_size);
40 40
41 bool operator==(const WebIntentReply& other) const; 41 bool operator==(const WebIntentReply& other) const;
42 42
43 // Response type. Default value is WEB_INTENT_REPLY_INVALID. 43 // Response type. Default value is WEB_INTENT_REPLY_INVALID.
44 WebIntentReplyType type; 44 WebIntentReplyType type;
45 45
46 // Serialized data. Default value is empty. 46 // Serialized data. Default value is empty.
47 string16 data; 47 string16 data;
48 48
49 // FilePath to the data to be delivered. Default value is empty. 49 // FilePath to the data to be delivered. Default value is empty.
50 FilePath data_file; 50 base::FilePath data_file;
51 51
52 // Length of data_path. 52 // Length of data_path.
53 int64 data_file_size; 53 int64 data_file_size;
54 }; 54 };
55 55
56 } // namespace webkit_glue 56 } // namespace webkit_glue
57 57
58 #endif // WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_ 58 #endif // WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
OLDNEW
« no previous file with comments | « webkit/glue/web_intent_data.cc ('k') | webkit/glue/web_intent_reply_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698