OLD | NEW |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 enum class WebCachePolicy; | 46 enum class WebCachePolicy; |
47 | 47 |
48 enum ResourceRequestBlockedReason { | 48 enum ResourceRequestBlockedReason { |
49 ResourceRequestBlockedReasonCSP, | 49 ResourceRequestBlockedReasonCSP, |
50 ResourceRequestBlockedReasonMixedContent, | 50 ResourceRequestBlockedReasonMixedContent, |
51 ResourceRequestBlockedReasonOrigin, | 51 ResourceRequestBlockedReasonOrigin, |
52 ResourceRequestBlockedReasonInspector, | 52 ResourceRequestBlockedReasonInspector, |
| 53 ResourceRequestBlockedReasonSubresourceFilter, |
53 ResourceRequestBlockedReasonOther, | 54 ResourceRequestBlockedReasonOther, |
54 ResourceRequestBlockedReasonNone | 55 ResourceRequestBlockedReasonNone |
55 }; | 56 }; |
56 | 57 |
57 enum InputToLoadPerfMetricReportPolicy { | 58 enum InputToLoadPerfMetricReportPolicy { |
58 NoReport, // Don't report metrics for this ResourceRequest. | 59 NoReport, // Don't report metrics for this ResourceRequest. |
59 ReportLink, // Report metrics for this request as initiated by a link click. | 60 ReportLink, // Report metrics for this request as initiated by a link click. |
60 ReportIntent, // Report metrics for this request as initiated by an intent. | 61 ReportIntent, // Report metrics for this request as initiated by an intent. |
61 }; | 62 }; |
62 | 63 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 bool m_checkForBrowserSideNavigation; | 333 bool m_checkForBrowserSideNavigation; |
333 double m_uiStartTime; | 334 double m_uiStartTime; |
334 bool m_isExternalRequest; | 335 bool m_isExternalRequest; |
335 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 336 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
336 ResourceRequest::RedirectStatus m_redirectStatus; | 337 ResourceRequest::RedirectStatus m_redirectStatus; |
337 }; | 338 }; |
338 | 339 |
339 } // namespace blink | 340 } // namespace blink |
340 | 341 |
341 #endif // ResourceRequest_h | 342 #endif // ResourceRequest_h |
OLD | NEW |