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

Side by Side Diff: Source/platform/network/ResourceRequest.h

Issue 1315043008: [DevTools] Show blocked requests in Network panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/protocol.json ('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 /* 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 30 matching lines...) Expand all
41 namespace blink { 41 namespace blink {
42 42
43 enum ResourceRequestCachePolicy { 43 enum ResourceRequestCachePolicy {
44 UseProtocolCachePolicy, // normal load 44 UseProtocolCachePolicy, // normal load
45 ReloadIgnoringCacheData, // reload 45 ReloadIgnoringCacheData, // reload
46 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da ta 46 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da ta
47 ReturnCacheDataDontLoad, // results of a post - allow stale data and only us e cache 47 ReturnCacheDataDontLoad, // results of a post - allow stale data and only us e cache
48 ReloadBypassingCache, // end-to-end reload 48 ReloadBypassingCache, // end-to-end reload
49 }; 49 };
50 50
51 enum ResourceRequestBlockedReason {
52 ResourceRequestBlockedReasonCSP,
53 ResourceRequestBlockedReasonMixedContent,
54 ResourceRequestBlockedReasonOrigin,
55 ResourceRequestBlockedReasonInspector,
56 ResourceRequestBlockedReasonOther,
57 ResourceRequestBlockedReasonNone
58 };
59
51 enum InputToLoadPerfMetricReportPolicy { 60 enum InputToLoadPerfMetricReportPolicy {
52 NoReport, // Don't report metrics for this ResourceRequest. 61 NoReport, // Don't report metrics for this ResourceRequest.
53 ReportLink, // Report metrics for this request as initiated by a link click. 62 ReportLink, // Report metrics for this request as initiated by a link click.
54 ReportIntent, // Report metrics for this request as initiated by an intent. 63 ReportIntent, // Report metrics for this request as initiated by an intent.
55 }; 64 };
56 65
57 struct CrossThreadResourceRequestData; 66 struct CrossThreadResourceRequestData;
58 67
59 class PLATFORM_EXPORT ResourceRequest { 68 class PLATFORM_EXPORT ResourceRequest {
60 WTF_MAKE_FAST_ALLOCATED(ResourceRequest); 69 WTF_MAKE_FAST_ALLOCATED(ResourceRequest);
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 bool m_checkForBrowserSideNavigation; 329 bool m_checkForBrowserSideNavigation;
321 double m_uiStartTime; 330 double m_uiStartTime;
322 bool m_originatesFromReservedIPRange; 331 bool m_originatesFromReservedIPRange;
323 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; 332 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
324 bool m_followedRedirect; 333 bool m_followedRedirect;
325 }; 334 };
326 335
327 } // namespace blink 336 } // namespace blink
328 337
329 #endif // ResourceRequest_h 338 #endif // ResourceRequest_h
OLDNEW
« no previous file with comments | « Source/devtools/protocol.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698