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

Unified Diff: chrome/renderer/loadtimes_extension_bindings.cc

Issue 9315021: In chrome:loadtimes show the NPN protocol negotiated (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/loadtimes_extension_bindings.cc
===================================================================
--- chrome/renderer/loadtimes_extension_bindings.cc (revision 119306)
+++ chrome/renderer/loadtimes_extension_bindings.cc (working copy)
@@ -135,6 +135,9 @@
load_times->Set(
v8::String::New("wasNpnNegotiated"),
v8::Boolean::New(document_state->was_npn_negotiated()));
+ load_times->Set(
+ v8::String::New("npnNegotiatedProtocol"),
+ v8::String::New(document_state->npn_negotiated_protocol().c_str()));
load_times->Set(
v8::String::New("wasAlternateProtocolAvailable"),
v8::Boolean::New(
« no previous file with comments | « no previous file | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698