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

Unified Diff: webkit/common/resource_devtools_info.h

Issue 16831010: Move some classes out of webkit/glue/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move UploadDataStreamBuilder to content/browser Created 7 years, 6 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 | « webkit/base/webkit_base.gyp ('k') | webkit/common/resource_devtools_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/resource_devtools_info.h
diff --git a/webkit/common/resource_devtools_info.h b/webkit/common/resource_devtools_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..a53fa01818256a6b6776f3f42eff019ea373c224
--- /dev/null
+++ b/webkit/common/resource_devtools_info.h
@@ -0,0 +1,37 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
+#define WEBKIT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
+
+#include <string>
+#include <vector>
+
+#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
+#include "webkit/common/webkit_common_export.h"
+
+namespace webkit_glue {
+
+struct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> {
+ typedef std::vector<std::pair<std::string, std::string> >
+ HeadersVector;
+
+ WEBKIT_COMMON_EXPORT ResourceDevToolsInfo();
+
+ int32 http_status_code;
+ std::string http_status_text;
+ HeadersVector request_headers;
+ HeadersVector response_headers;
+ std::string request_headers_text;
+ std::string response_headers_text;
+
+ private:
+ friend class base::RefCounted<ResourceDevToolsInfo>;
+ WEBKIT_COMMON_EXPORT ~ResourceDevToolsInfo();
+};
+
+} // namespace webkit_glue
+
+#endif // WEBKIT_COMMON_RESOURCE_DEVTOOLS_INFO_H_
« no previous file with comments | « webkit/base/webkit_base.gyp ('k') | webkit/common/resource_devtools_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698