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

Side by Side Diff: webkit/glue/resource_loader_bridge.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // The intent of this file is to provide a type-neutral abstraction between 5 // The intent of this file is to provide a type-neutral abstraction between
6 // Chrome and WebKit for resource loading. This pure-virtual interface is 6 // Chrome and WebKit for resource loading. This pure-virtual interface is
7 // implemented by the embedder, which also provides a factory method Create 7 // implemented by the embedder, which also provides a factory method Create
8 // to instantiate this object. 8 // to instantiate this object.
9 // 9 //
10 // One of these objects will be created by WebKit for each request. WebKit 10 // One of these objects will be created by WebKit for each request. WebKit
(...skipping 18 matching lines...) Expand all
29 29
30 class WebFrame; 30 class WebFrame;
31 31
32 namespace webkit_glue { 32 namespace webkit_glue {
33 33
34 class ResourceLoaderBridge { 34 class ResourceLoaderBridge {
35 public: 35 public:
36 struct ResponseInfo { 36 struct ResponseInfo {
37 // The time at which the request was made that resulted in this response. 37 // The time at which the request was made that resulted in this response.
38 // For cached responses, this time could be "far" in the past. 38 // For cached responses, this time could be "far" in the past.
39 Time request_time; 39 base::Time request_time;
40 40
41 // The time at which the response headers were received. For cached 41 // The time at which the response headers were received. For cached
42 // responses, this time could be "far" in the past. 42 // responses, this time could be "far" in the past.
43 Time response_time; 43 base::Time response_time;
44 44
45 // The response headers or NULL if the URL type does not support headers. 45 // The response headers or NULL if the URL type does not support headers.
46 scoped_refptr<net::HttpResponseHeaders> headers; 46 scoped_refptr<net::HttpResponseHeaders> headers;
47 47
48 // The mime type of the response. This may be a derived value. 48 // The mime type of the response. This may be a derived value.
49 std::string mime_type; 49 std::string mime_type;
50 50
51 // The character encoding of the response or none if not applicable to the 51 // The character encoding of the response or none if not applicable to the
52 // response's mime type. This may be a derived value. 52 // response's mime type. This may be a derived value.
53 std::string charset; 53 std::string charset;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 ResourceLoaderBridge() {} 197 ResourceLoaderBridge() {}
198 198
199 private: 199 private:
200 DISALLOW_EVIL_CONSTRUCTORS(ResourceLoaderBridge); 200 DISALLOW_EVIL_CONSTRUCTORS(ResourceLoaderBridge);
201 }; 201 };
202 202
203 } // namespace webkit_glue 203 } // namespace webkit_glue
204 204
205 #endif // RESOURCE_LOADER_BRIDGE__ 205 #endif // RESOURCE_LOADER_BRIDGE__
206 206
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698