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

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

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_H_ 7 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_H_
8 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_H_ 8 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "net/url_request/url_request_status.h" 15 #include "net/url_request/url_request_status.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 #include "webkit/glue/resource_loader_bridge.h" 17 #include "webkit/common/resource_response_info.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 // Parameters for a resource response header. 21 // Parameters for a resource response header.
22 struct ResourceResponseHead : webkit_glue::ResourceResponseInfo { 22 struct ResourceResponseHead : webkit_glue::ResourceResponseInfo {
23 // The response error_code. 23 // The response error_code.
24 int error_code; 24 int error_code;
25 // TimeTicks::Now() when the browser received the request from the renderer. 25 // TimeTicks::Now() when the browser received the request from the renderer.
26 base::TimeTicks request_start; 26 base::TimeTicks request_start;
27 // TimeTicks::Now() when the browser sent the response to the renderer. 27 // TimeTicks::Now() when the browser sent the response to the renderer.
(...skipping 17 matching lines...) Expand all
45 ResourceResponseHead head; 45 ResourceResponseHead head;
46 46
47 private: 47 private:
48 friend class base::RefCounted<ResourceResponse>; 48 friend class base::RefCounted<ResourceResponse>;
49 ~ResourceResponse() {} 49 ~ResourceResponse() {}
50 }; 50 };
51 51
52 } // namespace content 52 } // namespace content
53 53
54 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_H_ 54 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_H_
OLDNEW
« no previous file with comments | « content/public/common/resource_dispatcher_delegate.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698