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

Unified Diff: chrome/common/render_messages.h

Issue 28158: Add an identity (id) to system drag & drop. (Closed)
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target.cc ('k') | webkit/glue/webdropdata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index e2a0aa03ab84194af53042e060287520b6b3ca94..7fa88de3c4973181a946ced2992153da7efad7e0 100755
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1539,6 +1539,7 @@ template <>
struct ParamTraits<WebDropData> {
typedef WebDropData param_type;
static void Write(Message* m, const param_type& p) {
+ WriteParam(m, p.identity);
WriteParam(m, p.url);
WriteParam(m, p.url_title);
WriteParam(m, p.file_extension);
@@ -1551,6 +1552,7 @@ struct ParamTraits<WebDropData> {
}
static bool Read(const Message* m, void** iter, param_type* p) {
return
+ ReadParam(m, iter, &p->identity) &&
ReadParam(m, iter, &p->url) &&
ReadParam(m, iter, &p->url_title) &&
ReadParam(m, iter, &p->file_extension) &&
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target.cc ('k') | webkit/glue/webdropdata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698