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

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

Issue 12340107: Remove some more web intents code I missed previously (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: cros Created 7 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "webkit/glue/web_intent_reply_data.h"
6
7 namespace webkit_glue {
8 namespace {
9
10 const int64 kUnknownFileSize = -1;
11
12 }
13
14 WebIntentReply::WebIntentReply()
15 : type(WEB_INTENT_REPLY_INVALID), data_file_size(kUnknownFileSize) {}
16
17 WebIntentReply::WebIntentReply(
18 WebIntentReplyType response_type, string16 response_data)
19 : type(response_type),
20 data(response_data),
21 data_file_size(kUnknownFileSize) {}
22
23 WebIntentReply::WebIntentReply(
24 WebIntentReplyType response_type,
25 base::FilePath response_data_file,
26 int64 response_data_file_length)
27 : type(response_type),
28 data_file(response_data_file),
29 data_file_size(response_data_file_length) {}
30
31 bool WebIntentReply::operator==(const WebIntentReply& other) const {
32 return type == other.type &&
33 data == other.data &&
34 data_file == other.data_file &&
35 data_file_size == other.data_file_size;
36 }
37
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