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

Side by Side Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp

Issue 2736143003: Introduce the Background Fetch module. (Closed)
Patch Set: more webexposed tests Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "modules/background_fetch/BackgroundFetchManager.h"
6
7 #include "bindings/core/v8/ScriptState.h"
8 #include "core/dom/DOMException.h"
9 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
10
11 namespace blink {
12
13 BackgroundFetchManager::BackgroundFetchManager(
14 ServiceWorkerRegistration* registration)
15 : m_registration(registration) {
16 DCHECK(registration);
17 }
18
19 ScriptPromise BackgroundFetchManager::getTags(ScriptState* scriptState) {
20 return ScriptPromise::rejectWithDOMException(
21 scriptState,
22 DOMException::create(NotSupportedError, "Not implemented yet."));
23 }
24
25 DEFINE_TRACE(BackgroundFetchManager) {
26 visitor->trace(m_registration);
27 }
28
29 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698