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

Unified Diff: chrome/common/plugin_messages.h

Issue 14122: Handle HTTP 200 responses received in response to byte range requests issued... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/plugin/webplugin_delegate_stub.cc » ('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 7063)
+++ chrome/common/plugin_messages.h (working copy)
@@ -69,6 +69,7 @@
std::string headers;
uint32 expected_length;
uint32 last_modified;
+ bool request_is_seekable;
};
struct NPIdentifier_Param {
@@ -266,6 +267,7 @@
WriteParam(m, p.headers);
WriteParam(m, p.expected_length);
WriteParam(m, p.last_modified);
+ WriteParam(m, p.request_is_seekable);
}
static bool Read(const Message* m, void** iter, param_type* r) {
return
@@ -273,7 +275,8 @@
ReadParam(m, iter, &r->mime_type) &&
ReadParam(m, iter, &r->headers) &&
ReadParam(m, iter, &r->expected_length) &&
- ReadParam(m, iter, &r->last_modified);
+ ReadParam(m, iter, &r->last_modified) &&
+ ReadParam(m, iter, &r->request_is_seekable);
}
static void Log(const param_type& p, std::wstring* l) {
l->append(L"(");
@@ -286,6 +289,8 @@
LogParam(p.expected_length, l);
l->append(L", ");
LogParam(p.last_modified, l);
+ l->append(L", ");
+ LogParam(p.request_is_seekable, l);
l->append(L")");
}
};
« no previous file with comments | « no previous file | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698