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

Side by Side Diff: third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp

Issue 1961883002: Generate separate files for union type containers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "modules/beacon/NavigatorBeacon.h" 5 #include "modules/beacon/NavigatorBeacon.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/modules/v8/UnionTypesModules.h" 8 #include "bindings/modules/v8/ArrayBufferViewOrBlobOrStringOrFormData.h"
9 #include "core/dom/DOMArrayBufferView.h" 9 #include "core/dom/DOMArrayBufferView.h"
10 #include "core/dom/ExceptionCode.h" 10 #include "core/dom/ExceptionCode.h"
11 #include "core/dom/ExecutionContext.h" 11 #include "core/dom/ExecutionContext.h"
12 #include "core/fileapi/Blob.h" 12 #include "core/fileapi/Blob.h"
13 #include "core/frame/LocalFrame.h" 13 #include "core/frame/LocalFrame.h"
14 #include "core/frame/Settings.h" 14 #include "core/frame/Settings.h"
15 #include "core/frame/UseCounter.h" 15 #include "core/frame/UseCounter.h"
16 #include "core/frame/csp/ContentSecurityPolicy.h" 16 #include "core/frame/csp/ContentSecurityPolicy.h"
17 #include "core/html/FormData.h" 17 #include "core/html/FormData.h"
18 #include "core/loader/BeaconLoader.h" 18 #include "core/loader/BeaconLoader.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 allowed = BeaconLoader::sendBeacon(impl.frame(), allowance, url, data.ge tAsString(), bytes); 119 allowed = BeaconLoader::sendBeacon(impl.frame(), allowance, url, data.ge tAsString(), bytes);
120 else if (data.isFormData()) 120 else if (data.isFormData())
121 allowed = BeaconLoader::sendBeacon(impl.frame(), allowance, url, data.ge tAsFormData(), bytes); 121 allowed = BeaconLoader::sendBeacon(impl.frame(), allowance, url, data.ge tAsFormData(), bytes);
122 else 122 else
123 allowed = BeaconLoader::sendBeacon(impl.frame(), allowance, url, String( ), bytes); 123 allowed = BeaconLoader::sendBeacon(impl.frame(), allowance, url, String( ), bytes);
124 124
125 return impl.beaconResult(context, allowed, bytes); 125 return impl.beaconResult(context, allowed, bytes);
126 } 126 }
127 127
128 } // namespace blink 128 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698