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

Side by Side Diff: Source/core/loader/BeaconLoader.h

Issue 1102253002: Oilpan: keep FormData on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/core/html/FormDataList.cpp ('k') | Source/core/loader/BeaconLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef BeaconLoader_h 5 #ifndef BeaconLoader_h
6 #define BeaconLoader_h 6 #define BeaconLoader_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/loader/PingLoader.h" 9 #include "core/loader/PingLoader.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 14 matching lines...) Expand all
25 // staying alive. PingLoader providing the service. 25 // staying alive. PingLoader providing the service.
26 class CORE_EXPORT BeaconLoader final : public PingLoader { 26 class CORE_EXPORT BeaconLoader final : public PingLoader {
27 WTF_MAKE_NONCOPYABLE(BeaconLoader); 27 WTF_MAKE_NONCOPYABLE(BeaconLoader);
28 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(BeaconLoader); 28 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(BeaconLoader);
29 public: 29 public:
30 ~BeaconLoader() override { } 30 ~BeaconLoader() override { }
31 31
32 static bool sendBeacon(LocalFrame*, int, const KURL&, const String&, int&); 32 static bool sendBeacon(LocalFrame*, int, const KURL&, const String&, int&);
33 static bool sendBeacon(LocalFrame*, int, const KURL&, PassRefPtr<DOMArrayBuf ferView>, int&); 33 static bool sendBeacon(LocalFrame*, int, const KURL&, PassRefPtr<DOMArrayBuf ferView>, int&);
34 static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, int&); 34 static bool sendBeacon(LocalFrame*, int, const KURL&, Blob*, int&);
35 static bool sendBeacon(LocalFrame*, int, const KURL&, PassRefPtrWillBeRawPtr <DOMFormData>, int&); 35 static bool sendBeacon(LocalFrame*, int, const KURL&, DOMFormData*, int&);
36 36
37 private: 37 private:
38 class Sender; 38 class Sender;
39 39
40 BeaconLoader(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, Store dCredentials); 40 BeaconLoader(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, Store dCredentials);
41 41
42 RefPtr<SecurityOrigin> m_beaconOrigin; 42 RefPtr<SecurityOrigin> m_beaconOrigin;
43 43
44 // WebURLLoaderClient 44 // WebURLLoaderClient
45 void willSendRequest(WebURLLoader*, WebURLRequest&, const WebURLResponse&) o verride; 45 void willSendRequest(WebURLLoader*, WebURLRequest&, const WebURLResponse&) o verride;
46 }; 46 };
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 #endif // BeaconLoader_h 50 #endif // BeaconLoader_h
OLDNEW
« no previous file with comments | « Source/core/html/FormDataList.cpp ('k') | Source/core/loader/BeaconLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698