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

Side by Side Diff: third_party/WebKit/Source/platform/network/ResourceRequest.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 #include "platform/network/ResourceLoadPriority.h" 35 #include "platform/network/ResourceLoadPriority.h"
36 #include "platform/weborigin/KURL.h" 36 #include "platform/weborigin/KURL.h"
37 #include "platform/weborigin/Referrer.h" 37 #include "platform/weborigin/Referrer.h"
38 #include "platform/weborigin/SecurityOrigin.h" 38 #include "platform/weborigin/SecurityOrigin.h"
39 #include "public/platform/WebAddressSpace.h" 39 #include "public/platform/WebAddressSpace.h"
40 #include "public/platform/WebURLRequest.h" 40 #include "public/platform/WebURLRequest.h"
41 #include "wtf/OwnPtr.h" 41 #include "wtf/OwnPtr.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 // Should be same with WebURLRequest::CachePolicy.
46 // TODO(crbug.com/599364): Merge this with WebURLRequest::CachePolicy
45 enum ResourceRequestCachePolicy { 47 enum ResourceRequestCachePolicy {
46 UseProtocolCachePolicy, // normal load 48 UseProtocolCachePolicy, // normal load
47 ReloadIgnoringCacheData, // reload 49 ValidatingCacheData, // reload
50 BypassingCache, // end-to-end reload
48 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da ta 51 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da ta
49 ReturnCacheDataDontLoad, // results of a post - allow stale data and only us e cache 52 ReturnCacheDataDontLoad, // results of a post - allow stale data and only us e cache
50 ReloadBypassingCache, // end-to-end reload
51 }; 53 };
52 54
53 enum ResourceRequestBlockedReason { 55 enum ResourceRequestBlockedReason {
54 ResourceRequestBlockedReasonCSP, 56 ResourceRequestBlockedReasonCSP,
55 ResourceRequestBlockedReasonMixedContent, 57 ResourceRequestBlockedReasonMixedContent,
56 ResourceRequestBlockedReasonOrigin, 58 ResourceRequestBlockedReasonOrigin,
57 ResourceRequestBlockedReasonInspector, 59 ResourceRequestBlockedReasonInspector,
58 ResourceRequestBlockedReasonOther, 60 ResourceRequestBlockedReasonOther,
59 ResourceRequestBlockedReasonNone 61 ResourceRequestBlockedReasonNone
60 }; 62 };
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 bool m_checkForBrowserSideNavigation; 338 bool m_checkForBrowserSideNavigation;
337 double m_uiStartTime; 339 double m_uiStartTime;
338 bool m_isExternalRequest; 340 bool m_isExternalRequest;
339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; 341 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
340 bool m_followedRedirect; 342 bool m_followedRedirect;
341 }; 343 };
342 344
343 } // namespace blink 345 } // namespace blink
344 346
345 #endif // ResourceRequest_h 347 #endif // ResourceRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/NavigationScheduler.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698