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 ResourceRequestBlockedReasonClient, | |
battre
2016/05/30 15:29:26
please check all uses of ResourceRequestBlockedRea
engedy
2016/05/30 20:54:01
Great catch, thank you! Done.
| |
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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
330 bool m_checkForBrowserSideNavigation; | 331 bool m_checkForBrowserSideNavigation; |
331 double m_uiStartTime; | 332 double m_uiStartTime; |
332 bool m_isExternalRequest; | 333 bool m_isExternalRequest; |
333 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 334 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
334 bool m_followedRedirect; | 335 bool m_followedRedirect; |
335 }; | 336 }; |
336 | 337 |
337 } // namespace blink | 338 } // namespace blink |
338 | 339 |
339 #endif // ResourceRequest_h | 340 #endif // ResourceRequest_h |
OLD | NEW |