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

Side by Side Diff: chrome/common/resource_response.h

Issue 6166010: net: Remove typedef net::URLRequestStatus URLRequestStatus; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/common/resource_dispatcher_unittest.cc ('k') | chrome/common/security_filter_peer.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_RESOURCE_RESPONSE_H_ 7 #ifndef CHROME_COMMON_RESOURCE_RESPONSE_H_
8 #define CHROME_COMMON_RESOURCE_RESPONSE_H_ 8 #define CHROME_COMMON_RESOURCE_RESPONSE_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "net/url_request/url_request_status.h" 15 #include "net/url_request/url_request_status.h"
16 #include "webkit/glue/resource_loader_bridge.h" 16 #include "webkit/glue/resource_loader_bridge.h"
17 17
18 // Parameters for a resource response header. 18 // Parameters for a resource response header.
19 struct ResourceResponseHead : webkit_glue::ResourceResponseInfo { 19 struct ResourceResponseHead : webkit_glue::ResourceResponseInfo {
20 ResourceResponseHead(); 20 ResourceResponseHead();
21 ~ResourceResponseHead(); 21 ~ResourceResponseHead();
22 22
23 // The response status. 23 // The response status.
24 URLRequestStatus status; 24 net::URLRequestStatus status;
25 25
26 // Whether we should apply a filter to this resource that replaces 26 // Whether we should apply a filter to this resource that replaces
27 // localization templates with the appropriate localized strings. This is set 27 // localization templates with the appropriate localized strings. This is set
28 // for CSS resources used by extensions. 28 // for CSS resources used by extensions.
29 bool replace_extension_localization_templates; 29 bool replace_extension_localization_templates;
30 }; 30 };
31 31
32 // Parameters for a synchronous resource response. 32 // Parameters for a synchronous resource response.
33 struct SyncLoadResult : ResourceResponseHead { 33 struct SyncLoadResult : ResourceResponseHead {
34 SyncLoadResult(); 34 SyncLoadResult();
(...skipping 11 matching lines...) Expand all
46 ResourceResponseHead response_head; 46 ResourceResponseHead response_head;
47 47
48 ResourceResponse(); 48 ResourceResponse();
49 private: 49 private:
50 friend class base::RefCounted<ResourceResponse>; 50 friend class base::RefCounted<ResourceResponse>;
51 51
52 virtual ~ResourceResponse(); 52 virtual ~ResourceResponse();
53 }; 53 };
54 54
55 #endif // CHROME_COMMON_RESOURCE_RESPONSE_H_ 55 #endif // CHROME_COMMON_RESOURCE_RESPONSE_H_
OLDNEW
« no previous file with comments | « chrome/common/resource_dispatcher_unittest.cc ('k') | chrome/common/security_filter_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698