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

Side by Side Diff: public/platform/WebURLResponse.h

Issue 401973003: Rename WebCore namespace to blink in Public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « public/platform/WebURLRequest.h ('k') | public/platform/WebWorkerRunLoop.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebURLResponse_h 31 #ifndef WebURLResponse_h
32 #define WebURLResponse_h 32 #define WebURLResponse_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebPrivateOwnPtr.h" 35 #include "WebPrivateOwnPtr.h"
36 36
37 #if INSIDE_BLINK 37 #if INSIDE_BLINK
38 namespace WebCore { class ResourceResponse; } 38 namespace blink { class ResourceResponse; }
39 #endif 39 #endif
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class WebCString; 43 class WebCString;
44 class WebHTTPHeaderVisitor; 44 class WebHTTPHeaderVisitor;
45 class WebHTTPLoadInfo; 45 class WebHTTPLoadInfo;
46 class WebString; 46 class WebString;
47 class WebURL; 47 class WebURL;
48 class WebURLLoadTiming; 48 class WebURLLoadTiming;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 BLINK_PLATFORM_EXPORT WebURL appCacheManifestURL() const; 133 BLINK_PLATFORM_EXPORT WebURL appCacheManifestURL() const;
134 BLINK_PLATFORM_EXPORT void setAppCacheManifestURL(const WebURL&); 134 BLINK_PLATFORM_EXPORT void setAppCacheManifestURL(const WebURL&);
135 135
136 // A consumer controlled value intended to be used to record opaque 136 // A consumer controlled value intended to be used to record opaque
137 // security info related to this request. 137 // security info related to this request.
138 BLINK_PLATFORM_EXPORT WebCString securityInfo() const; 138 BLINK_PLATFORM_EXPORT WebCString securityInfo() const;
139 BLINK_PLATFORM_EXPORT void setSecurityInfo(const WebCString&); 139 BLINK_PLATFORM_EXPORT void setSecurityInfo(const WebCString&);
140 140
141 #if INSIDE_BLINK 141 #if INSIDE_BLINK
142 BLINK_PLATFORM_EXPORT WebCore::ResourceResponse& toMutableResourceResponse() ; 142 BLINK_PLATFORM_EXPORT blink::ResourceResponse& toMutableResourceResponse();
143 BLINK_PLATFORM_EXPORT const WebCore::ResourceResponse& toResourceResponse() const; 143 BLINK_PLATFORM_EXPORT const blink::ResourceResponse& toResourceResponse() co nst;
144 #endif 144 #endif
145 145
146 // Flag whether this request was served from the disk cache entry. 146 // Flag whether this request was served from the disk cache entry.
147 BLINK_PLATFORM_EXPORT bool wasCached() const; 147 BLINK_PLATFORM_EXPORT bool wasCached() const;
148 BLINK_PLATFORM_EXPORT void setWasCached(bool); 148 BLINK_PLATFORM_EXPORT void setWasCached(bool);
149 149
150 // Flag whether this request was loaded via the SPDY protocol or not. 150 // Flag whether this request was loaded via the SPDY protocol or not.
151 // SPDY is an experimental web protocol, see http://dev.chromium.org/spdy 151 // SPDY is an experimental web protocol, see http://dev.chromium.org/spdy
152 BLINK_PLATFORM_EXPORT bool wasFetchedViaSPDY() const; 152 BLINK_PLATFORM_EXPORT bool wasFetchedViaSPDY() const;
153 BLINK_PLATFORM_EXPORT void setWasFetchedViaSPDY(bool); 153 BLINK_PLATFORM_EXPORT void setWasFetchedViaSPDY(bool);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 protected: 200 protected:
201 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); 201 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*);
202 202
203 private: 203 private:
204 WebURLResponsePrivate* m_private; 204 WebURLResponsePrivate* m_private;
205 }; 205 };
206 206
207 } // namespace blink 207 } // namespace blink
208 208
209 #endif 209 #endif
OLDNEW
« no previous file with comments | « public/platform/WebURLRequest.h ('k') | public/platform/WebWorkerRunLoop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698