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

Side by Side Diff: third_party/WebKit/Source/modules/fetch/GlobalFetch.h

Issue 1922923003: Have MessagePort use Oilpan-based weak pointers. (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 #ifndef GlobalFetch_h 5 #ifndef GlobalFetch_h
6 #define GlobalFetch_h 6 #define GlobalFetch_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "modules/fetch/Request.h" 10 #include "modules/fetch/Request.h"
11 #include "wtf/WeakPtr.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class Dictionary; 14 class Dictionary;
16 class DOMWindow; 15 class DOMWindow;
17 class ExceptionState; 16 class ExceptionState;
18 class ScriptState; 17 class ScriptState;
19 class WorkerGlobalScope; 18 class WorkerGlobalScope;
20 19
21 class GlobalFetch { 20 class GlobalFetch {
(...skipping 11 matching lines...) Expand all
33 DECLARE_VIRTUAL_TRACE(); 32 DECLARE_VIRTUAL_TRACE();
34 }; 33 };
35 34
36 static ScriptPromise fetch(ScriptState*, DOMWindow&, const RequestInfo&, con st Dictionary&, ExceptionState&); 35 static ScriptPromise fetch(ScriptState*, DOMWindow&, const RequestInfo&, con st Dictionary&, ExceptionState&);
37 static ScriptPromise fetch(ScriptState*, WorkerGlobalScope&, const RequestIn fo&, const Dictionary&, ExceptionState&); 36 static ScriptPromise fetch(ScriptState*, WorkerGlobalScope&, const RequestIn fo&, const Dictionary&, ExceptionState&);
38 }; 37 };
39 38
40 } // namespace blink 39 } // namespace blink
41 40
42 #endif // GlobalFetch_h 41 #endif // GlobalFetch_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698