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

Side by Side Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 1846733004: Rename IgnoringCacheData to ValidatingCacheData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 8 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 | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('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 30 matching lines...) Expand all
41 class ResourceRequest; 41 class ResourceRequest;
42 class WebHTTPBody; 42 class WebHTTPBody;
43 class WebHTTPHeaderVisitor; 43 class WebHTTPHeaderVisitor;
44 class WebSecurityOrigin; 44 class WebSecurityOrigin;
45 class WebString; 45 class WebString;
46 class WebURL; 46 class WebURL;
47 class WebURLRequestPrivate; 47 class WebURLRequestPrivate;
48 48
49 class WebURLRequest { 49 class WebURLRequest {
50 public: 50 public:
51 // Should be same with ResourceRequestCachePolicy.
52 // TODO(crbug.com/599364): Merge this with ResourceRequestCachePolicy.
51 enum CachePolicy { 53 enum CachePolicy {
52 UseProtocolCachePolicy, // normal load 54 UseProtocolCachePolicy, // normal load
53 ReloadIgnoringCacheData, // reload 55 ValidatingCacheData, // reload
56 BypassingCache, // end-to-end reload
54 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stal e data 57 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stal e data
55 ReturnCacheDataDontLoad, // results of a post - allow stale data and onl y use cache 58 ReturnCacheDataDontLoad, // results of a post - allow stale data and onl y use cache
56 ReloadBypassingCache, // end-to-end reload
57 }; 59 };
58 60
59 enum Priority { 61 enum Priority {
60 PriorityUnresolved = -1, 62 PriorityUnresolved = -1,
61 PriorityVeryLow, 63 PriorityVeryLow,
62 PriorityLow, 64 PriorityLow,
63 PriorityMedium, 65 PriorityMedium,
64 PriorityHigh, 66 PriorityHigh,
65 PriorityVeryHigh, 67 PriorityVeryHigh,
66 }; 68 };
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 protected: 321 protected:
320 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); 322 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*);
321 323
322 private: 324 private:
323 WebURLRequestPrivate* m_private; 325 WebURLRequestPrivate* m_private;
324 }; 326 };
325 327
326 } // namespace blink 328 } // namespace blink
327 329
328 #endif 330 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698