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

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

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_reply_data.h ('k') | webkit/glue/web_intent_reply_data_unittest.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 #include "webkit/glue/web_intent_reply_data.h" 5 #include "webkit/glue/web_intent_reply_data.h"
6 6
7 namespace webkit_glue { 7 namespace webkit_glue {
8 namespace { 8 namespace {
9 9
10 const int64 kUnknownFileSize = -1; 10 const int64 kUnknownFileSize = -1;
11 11
12 } 12 }
13 13
14 WebIntentReply::WebIntentReply() 14 WebIntentReply::WebIntentReply()
15 : type(WEB_INTENT_REPLY_INVALID), data_file_size(kUnknownFileSize) {} 15 : type(WEB_INTENT_REPLY_INVALID), data_file_size(kUnknownFileSize) {}
16 16
17 WebIntentReply::WebIntentReply( 17 WebIntentReply::WebIntentReply(
18 WebIntentReplyType response_type, string16 response_data) 18 WebIntentReplyType response_type, string16 response_data)
19 : type(response_type), 19 : type(response_type),
20 data(response_data), 20 data(response_data),
21 data_file_size(kUnknownFileSize) {} 21 data_file_size(kUnknownFileSize) {}
22 22
23 WebIntentReply::WebIntentReply( 23 WebIntentReply::WebIntentReply(
24 WebIntentReplyType response_type, 24 WebIntentReplyType response_type,
25 FilePath response_data_file, 25 base::FilePath response_data_file,
26 int64 response_data_file_length) 26 int64 response_data_file_length)
27 : type(response_type), 27 : type(response_type),
28 data_file(response_data_file), 28 data_file(response_data_file),
29 data_file_size(response_data_file_length) {} 29 data_file_size(response_data_file_length) {}
30 30
31 bool WebIntentReply::operator==(const WebIntentReply& other) const { 31 bool WebIntentReply::operator==(const WebIntentReply& other) const {
32 return type == other.type && 32 return type == other.type &&
33 data == other.data && 33 data == other.data &&
34 data_file == other.data_file && 34 data_file == other.data_file &&
35 data_file_size == other.data_file_size; 35 data_file_size == other.data_file_size;
36 } 36 }
37 37
38 } // namespace webkit_glue 38 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/web_intent_reply_data.h ('k') | webkit/glue/web_intent_reply_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698