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

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

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 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
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | webkit/glue/webmenuitem.h » ('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_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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 FILESYSTEM = 3, // The payload is WebFileSystem. 71 FILESYSTEM = 3, // The payload is WebFileSystem.
72 MIME_TYPE = 4, // The payload is a MIME type. 72 MIME_TYPE = 4, // The payload is a MIME type.
73 }; 73 };
74 // Which data payload to use when delivering the intent. 74 // Which data payload to use when delivering the intent.
75 DataType data_type; 75 DataType data_type;
76 76
77 WebIntentData(); 77 WebIntentData();
78 78
79 // NOTE! Constructors do not initialize message_port_ids. Caller must do this. 79 // NOTE! Constructors do not initialize message_port_ids. Caller must do this.
80 80
81 WebIntentData(const WebKit::WebIntent& intent); 81 explicit WebIntentData(const WebKit::WebIntent& intent);
82 WebIntentData(const string16& action_in, 82 WebIntentData(const string16& action_in,
83 const string16& type_in); 83 const string16& type_in);
84 WebIntentData(const string16& action_in, 84 WebIntentData(const string16& action_in,
85 const string16& type_in, 85 const string16& type_in,
86 const string16& unserialized_data_in); 86 const string16& unserialized_data_in);
87 WebIntentData(const string16& action_in, 87 WebIntentData(const string16& action_in,
88 const string16& type_in, 88 const string16& type_in,
89 const FilePath& blob_file_in, 89 const FilePath& blob_file_in,
90 int64 blob_length_in); 90 int64 blob_length_in);
91 WebIntentData(const string16& action_in, 91 WebIntentData(const string16& action_in,
92 const string16& type_in, 92 const string16& type_in,
93 const std::string& root_name_in, 93 const std::string& root_name_in,
94 const std::string& filesystem_id_in); 94 const std::string& filesystem_id_in);
95 95
96 // Special copy constructor needed for ListValue support. 96 // Special copy constructor needed for ListValue support.
97 WebIntentData(const WebIntentData& intent_data); 97 WebIntentData(const WebIntentData& intent_data);
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_
OLDNEW
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | webkit/glue/webmenuitem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698