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

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

Issue 9413038: SPDY - chrome:loadtimes() should display negotiated NPN protocol. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/weburlloader_impl.cc ('k') | webkit/glue/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_
6 #define WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_
7 #pragma once
8
9 #include <string>
10
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon se.h"
14 #include "webkit/glue/webkit_glue_export.h"
15
16 namespace webkit_glue {
17
18 // Base class for Chrome's implementation of the "extra data".
19 class WEBKIT_GLUE_EXPORT WebURLResponseExtraDataImpl
20 : NON_EXPORTED_BASE(public WebKit::WebURLResponse::ExtraData) {
21 public:
22 explicit WebURLResponseExtraDataImpl(
23 const std::string& npn_negotiated_protocol);
24 virtual ~WebURLResponseExtraDataImpl();
25
26 const std::string& npn_negotiated_protocol() const {
27 return npn_negotiated_protocol_;
28 }
29
30 private:
31 std::string npn_negotiated_protocol_;
32
33 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
34 };
35
36 } // namespace webkit_glue
37
38 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/weburlloader_impl.cc ('k') | webkit/glue/weburlresponse_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698