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

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

Issue 2677223002: Distinguish between subresource filtering and dryrun matching. (Closed)
Patch Set: rebase Created 3 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 | « third_party/WebKit/public/platform/WebDocumentSubresourceFilter.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 // 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 WebLoadingBehaviorFlag_h 5 #ifndef WebLoadingBehaviorFlag_h
6 #define WebLoadingBehaviorFlag_h 6 #define WebLoadingBehaviorFlag_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // This enum tracks certain behavior Blink exhibits when loading a page. This is 10 // This enum tracks certain behavior Blink exhibits when loading a page. This is
(...skipping 12 matching lines...) Expand all
23 // script. 23 // script.
24 WebLoadingBehaviorDocumentWriteBlock = 1 << 2, 24 WebLoadingBehaviorDocumentWriteBlock = 1 << 2,
25 // Indicates that the page is a reload and has a synchronous, cross-origin 25 // Indicates that the page is a reload and has a synchronous, cross-origin
26 // document.written script. 26 // document.written script.
27 WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3, 27 WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3,
28 // The page loaded external CSS that generated a PreloadRequest via the 28 // The page loaded external CSS that generated a PreloadRequest via the
29 // CSSPreloaderResourceClient. 29 // CSSPreloaderResourceClient.
30 WebLoadingBehaviorCSSPreloadFound = 1 << 4, 30 WebLoadingBehaviorCSSPreloadFound = 1 << 4,
31 // Indicates that the page has a synchronous, same-origin document.written 31 // Indicates that the page has a synchronous, same-origin document.written
32 // script with different protocol. 32 // script with different protocol.
33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5 33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5,
34 // Indicates that a subresource on the page matched the subresource filtering
35 // rules.
36 WebLoadingBehaviorSubresourceFilterMatch = 1 << 6
34 }; 37 };
35 38
36 } // namespace blink 39 } // namespace blink
37 40
38 #endif // WebLoadingBehaviorFlag_h 41 #endif // WebLoadingBehaviorFlag_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebDocumentSubresourceFilter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698