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

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, 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:executable
## -0,0 +1 ##
+*
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 WebURLResponseExtraDataImpl(const std::string& npn_negotiated_protocol);
23 virtual ~WebURLResponseExtraDataImpl();
24 const std::string& npn_negotiated_protocol() const {
25 return npn_negotiated_protocol_;
26 }
27
28 private:
29 std::string npn_negotiated_protocol_;
30
31 DISALLOW_COPY_AND_ASSIGN(WebURLResponseExtraDataImpl);
32 };
33
34 } // namespace webkit_glue
35
36 #endif // WEBKIT_GLUE_WEBURLRESPONSE_EXTRADATA_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698