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

Side by Side Diff: content/public/common/resource_devtools_info.h

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 6 years, 2 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
« no previous file with comments | « content/public/browser/stream_info.cc ('k') | content/public/common/resource_devtools_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_ 5 #ifndef CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
6 #define CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_ 6 #define CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/strings/string_split.h" 13 #include "base/strings/string_split.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 struct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> { 18 struct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> {
19 typedef base::StringPairs HeadersVector; 19 typedef base::StringPairs HeadersVector;
20 20
21 CONTENT_EXPORT ResourceDevToolsInfo(); 21 CONTENT_EXPORT ResourceDevToolsInfo();
22 22
23 scoped_refptr<ResourceDevToolsInfo> DeepCopy() const;
24
23 int32 http_status_code; 25 int32 http_status_code;
24 std::string http_status_text; 26 std::string http_status_text;
25 HeadersVector request_headers; 27 HeadersVector request_headers;
26 HeadersVector response_headers; 28 HeadersVector response_headers;
27 std::string request_headers_text; 29 std::string request_headers_text;
28 std::string response_headers_text; 30 std::string response_headers_text;
29 31
30 private: 32 private:
31 friend class base::RefCounted<ResourceDevToolsInfo>; 33 friend class base::RefCounted<ResourceDevToolsInfo>;
32 CONTENT_EXPORT ~ResourceDevToolsInfo(); 34 CONTENT_EXPORT ~ResourceDevToolsInfo();
33 }; 35 };
34 36
35 } // namespace content 37 } // namespace content
36 38
37 #endif // CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_ 39 #endif // CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
OLDNEW
« no previous file with comments | « content/public/browser/stream_info.cc ('k') | content/public/common/resource_devtools_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698