Use an alternate mechanism for CreateFile calls in Chrome
[chromium-blink-merge.git] / webkit / common / resource_devtools_info.h
blob96c163c8a0881fa5064dd9c6df75019f80619fd1
1 // Copyright 2013 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.
5 #ifndef WEBKIT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
6 #define WEBKIT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
8 #include <string>
9 #include <vector>
11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h"
13 #include "webkit/common/webkit_common_export.h"
15 namespace webkit_glue {
17 struct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> {
18 typedef std::vector<std::pair<std::string, std::string> >
19 HeadersVector;
21 WEBKIT_COMMON_EXPORT ResourceDevToolsInfo();
23 int32 http_status_code;
24 std::string http_status_text;
25 HeadersVector request_headers;
26 HeadersVector response_headers;
27 std::string request_headers_text;
28 std::string response_headers_text;
30 private:
31 friend class base::RefCounted<ResourceDevToolsInfo>;
32 WEBKIT_COMMON_EXPORT ~ResourceDevToolsInfo();
35 } // namespace webkit_glue
37 #endif // WEBKIT_COMMON_RESOURCE_DEVTOOLS_INFO_H_