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

Side by Side Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2706643002: DevTools: Move network request instrumentation points for timeline down the stack. (Closed)
Patch Set: . 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "core/dom/DOMArrayBufferView.h" 35 #include "core/dom/DOMArrayBufferView.h"
36 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
37 #include "core/dom/SecurityContext.h" 37 #include "core/dom/SecurityContext.h"
38 #include "core/fileapi/File.h" 38 #include "core/fileapi/File.h"
39 #include "core/frame/FrameConsole.h" 39 #include "core/frame/FrameConsole.h"
40 #include "core/frame/LocalFrame.h" 40 #include "core/frame/LocalFrame.h"
41 #include "core/frame/csp/ContentSecurityPolicy.h" 41 #include "core/frame/csp/ContentSecurityPolicy.h"
42 #include "core/html/FormData.h" 42 #include "core/html/FormData.h"
43 #include "core/inspector/ConsoleMessage.h" 43 #include "core/inspector/ConsoleMessage.h"
44 #include "core/inspector/InspectorInstrumentation.h" 44 #include "core/inspector/InspectorInstrumentation.h"
45 #include "core/inspector/InspectorTraceEvents.h"
46 #include "core/loader/FrameLoader.h" 45 #include "core/loader/FrameLoader.h"
47 #include "core/loader/FrameLoaderClient.h" 46 #include "core/loader/FrameLoaderClient.h"
48 #include "core/loader/MixedContentChecker.h" 47 #include "core/loader/MixedContentChecker.h"
49 #include "core/page/Page.h" 48 #include "core/page/Page.h"
50 #include "platform/WebFrameScheduler.h" 49 #include "platform/WebFrameScheduler.h"
51 #include "platform/exported/WrappedResourceRequest.h" 50 #include "platform/exported/WrappedResourceRequest.h"
52 #include "platform/exported/WrappedResourceResponse.h" 51 #include "platform/exported/WrappedResourceResponse.h"
52 #include "platform/instrumentation/inspector/PlatformInspectorTraceEvents.h"
53 #include "platform/loader/fetch/CrossOriginAccessControl.h" 53 #include "platform/loader/fetch/CrossOriginAccessControl.h"
54 #include "platform/loader/fetch/FetchContext.h" 54 #include "platform/loader/fetch/FetchContext.h"
55 #include "platform/loader/fetch/FetchInitiatorTypeNames.h" 55 #include "platform/loader/fetch/FetchInitiatorTypeNames.h"
56 #include "platform/loader/fetch/FetchUtils.h" 56 #include "platform/loader/fetch/FetchUtils.h"
57 #include "platform/loader/fetch/ResourceFetcher.h" 57 #include "platform/loader/fetch/ResourceFetcher.h"
58 #include "platform/loader/fetch/UniqueIdentifier.h" 58 #include "platform/loader/fetch/UniqueIdentifier.h"
59 #include "platform/network/EncodedFormData.h" 59 #include "platform/network/EncodedFormData.h"
60 #include "platform/network/ParsedContentType.h" 60 #include "platform/network/ParsedContentType.h"
61 #include "platform/network/ResourceError.h" 61 #include "platform/network/ResourceError.h"
62 #include "platform/network/ResourceRequest.h" 62 #include "platform/network/ResourceRequest.h"
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 bool PingLoader::sendBeacon(LocalFrame* frame, 569 bool PingLoader::sendBeacon(LocalFrame* frame,
570 int allowance, 570 int allowance,
571 const KURL& beaconURL, 571 const KURL& beaconURL,
572 Blob* data, 572 Blob* data,
573 int& payloadLength) { 573 int& payloadLength) {
574 BeaconBlob beacon(data); 574 BeaconBlob beacon(data);
575 return sendBeaconCommon(frame, allowance, beaconURL, beacon, payloadLength); 575 return sendBeaconCommon(frame, allowance, beaconURL, beacon, payloadLength);
576 } 576 }
577 577
578 } // namespace blink 578 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698