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

Unified Diff: chrome/common/plugin_messages.h

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « no previous file | chrome/common/plugin_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/plugin_messages.h
===================================================================
--- chrome/common/plugin_messages.h (revision 2387)
+++ chrome/common/plugin_messages.h (working copy)
@@ -55,6 +55,7 @@
std::string url;
bool notify_needed;
HANDLE notify_data;
+ HANDLE stream;
};
struct PluginMsg_Paint_Params {
@@ -227,13 +228,15 @@
WriteParam(m, p.url);
WriteParam(m, p.notify_needed);
WriteParam(m, p.notify_data);
+ WriteParam(m, p.stream);
}
static bool Read(const Message* m, void** iter, param_type* p) {
return
ReadParam(m, iter, &p->resource_id) &&
ReadParam(m, iter, &p->url) &&
ReadParam(m, iter, &p->notify_needed) &&
- ReadParam(m, iter, &p->notify_data);
+ ReadParam(m, iter, &p->notify_data) &&
+ ReadParam(m, iter, &p->stream);
}
static void Log(const param_type& p, std::wstring* l) {
l->append(L"(");
@@ -244,6 +247,8 @@
LogParam(p.notify_needed, l);
l->append(L", ");
LogParam(p.notify_data, l);
+ l->append(L", ");
+ LogParam(p.stream, l);
l->append(L")");
}
};
« no previous file with comments | « no previous file | chrome/common/plugin_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698