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

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

Issue 2941893002: DO NOT SUBMIT: results of old clang-format (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef WebCachePolicy_h 5 #ifndef WebCachePolicy_h
6 #define WebCachePolicy_h 6 #define WebCachePolicy_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 enum class WebCachePolicy { 10 enum class WebCachePolicy {
11 kUseProtocolCachePolicy, // normal load 11 kUseProtocolCachePolicy, // normal load
12 kValidatingCacheData, // reload 12 kValidatingCacheData, // reload
13 kBypassingCache, // end-to-end reload 13 kBypassingCache, // end-to-end reload
14 kReturnCacheDataElseLoad, // back/forward or encoding change - allow stale 14 kReturnCacheDataElseLoad, // back/forward or encoding change - allow stale
15 // data 15 // data
16 kReturnCacheDataDontLoad, // results of a post - allow stale data and only 16 kReturnCacheDataDontLoad, // results of a post - allow stale data and only
17 // use cache 17 // use cache
18 kReturnCacheDataIfValid, // for cache-aware loading - disallow stale data 18 kReturnCacheDataIfValid, // for cache-aware loading - disallow stale data
19 kBypassCacheLoadOnlyFromCache, // for cache-only load when disable cache 19 kBypassCacheLoadOnlyFromCache, // for cache-only load when disable cache
20 // is enabled. Results in a network error. 20 // is enabled. Results in a network error.
21 }; 21 };
22 22
23 } // namespace blink 23 } // namespace blink
24 24
25 #endif // WebCachePolicy_h 25 #endif // WebCachePolicy_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | third_party/WebKit/public/platform/WebDragOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698