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

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

Issue 940443002: Pass original int64 response time when caching resource metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test Created 5 years, 10 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
« no previous file with comments | « public/platform/Platform.h ('k') | no next file » | 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 BLINK_PLATFORM_EXPORT bool connectionReused() const; 86 BLINK_PLATFORM_EXPORT bool connectionReused() const;
87 BLINK_PLATFORM_EXPORT void setConnectionReused(bool); 87 BLINK_PLATFORM_EXPORT void setConnectionReused(bool);
88 88
89 BLINK_PLATFORM_EXPORT WebURLLoadTiming loadTiming(); 89 BLINK_PLATFORM_EXPORT WebURLLoadTiming loadTiming();
90 BLINK_PLATFORM_EXPORT void setLoadTiming(const WebURLLoadTiming&); 90 BLINK_PLATFORM_EXPORT void setLoadTiming(const WebURLLoadTiming&);
91 91
92 BLINK_PLATFORM_EXPORT WebHTTPLoadInfo httpLoadInfo(); 92 BLINK_PLATFORM_EXPORT WebHTTPLoadInfo httpLoadInfo();
93 BLINK_PLATFORM_EXPORT void setHTTPLoadInfo(const WebHTTPLoadInfo&); 93 BLINK_PLATFORM_EXPORT void setHTTPLoadInfo(const WebHTTPLoadInfo&);
94 94
95 BLINK_PLATFORM_EXPORT void setResponseTime(double);
96 BLINK_PLATFORM_EXPORT void setResponseTime(long long); 95 BLINK_PLATFORM_EXPORT void setResponseTime(long long);
97 96
98 BLINK_PLATFORM_EXPORT WebString mimeType() const; 97 BLINK_PLATFORM_EXPORT WebString mimeType() const;
99 BLINK_PLATFORM_EXPORT void setMIMEType(const WebString&); 98 BLINK_PLATFORM_EXPORT void setMIMEType(const WebString&);
100 99
101 BLINK_PLATFORM_EXPORT long long expectedContentLength() const; 100 BLINK_PLATFORM_EXPORT long long expectedContentLength() const;
102 BLINK_PLATFORM_EXPORT void setExpectedContentLength(long long); 101 BLINK_PLATFORM_EXPORT void setExpectedContentLength(long long);
103 102
104 BLINK_PLATFORM_EXPORT WebString textEncodingName() const; 103 BLINK_PLATFORM_EXPORT WebString textEncodingName() const;
105 BLINK_PLATFORM_EXPORT void setTextEncodingName(const WebString&); 104 BLINK_PLATFORM_EXPORT void setTextEncodingName(const WebString&);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 protected: 211 protected:
213 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); 212 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*);
214 213
215 private: 214 private:
216 WebURLResponsePrivate* m_private; 215 WebURLResponsePrivate* m_private;
217 }; 216 };
218 217
219 } // namespace blink 218 } // namespace blink
220 219
221 #endif 220 #endif
OLDNEW
« no previous file with comments | « public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698