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

Side by Side Diff: third_party/WebKit/Source/modules/background_sync/SyncManager.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/background_sync/SyncManager.h" 5 #include "modules/background_sync/SyncManager.h"
6 6
7 #include "bindings/core/v8/CallbackPromiseAdapter.h" 7 #include "bindings/core/v8/CallbackPromiseAdapter.h"
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
11 #include "core/dom/DOMException.h" 11 #include "core/dom/DOMException.h"
12 #include "core/dom/ExceptionCode.h" 12 #include "core/dom/ExceptionCode.h"
13 #include "core/dom/ExecutionContext.h" 13 #include "core/dom/ExecutionContext.h"
14 #include "modules/serviceworkers/ServiceWorkerRegistration.h" 14 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
15 #include "platform/heap/Persistent.h" 15 #include "platform/heap/Persistent.h"
16 #include "platform/wtf/Functional.h"
17 #include "platform/wtf/PtrUtil.h"
16 #include "public/platform/InterfaceProvider.h" 18 #include "public/platform/InterfaceProvider.h"
17 #include "public/platform/Platform.h" 19 #include "public/platform/Platform.h"
18 #include "wtf/Functional.h"
19 #include "wtf/PtrUtil.h"
20 20
21 namespace blink { 21 namespace blink {
22 22
23 SyncManager::SyncManager(ServiceWorkerRegistration* registration) 23 SyncManager::SyncManager(ServiceWorkerRegistration* registration)
24 : registration_(registration) { 24 : registration_(registration) {
25 DCHECK(registration); 25 DCHECK(registration);
26 } 26 }
27 27
28 ScriptPromise SyncManager::registerFunction(ScriptState* script_state, 28 ScriptPromise SyncManager::registerFunction(ScriptState* script_state,
29 const String& tag) { 29 const String& tag) {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 DOMException::Create(kUnknownError, "No service worker is active.")); 143 DOMException::Create(kUnknownError, "No service worker is active."));
144 break; 144 break;
145 } 145 }
146 } 146 }
147 147
148 DEFINE_TRACE(SyncManager) { 148 DEFINE_TRACE(SyncManager) {
149 visitor->Trace(registration_); 149 visitor->Trace(registration_);
150 } 150 }
151 151
152 } // namespace blink 152 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698