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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 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 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/serviceworkers/InstallEvent.h" 5 #include "modules/serviceworkers/InstallEvent.h"
6 6
7 #include "bindings/core/v8/ScriptState.h"
8 #include "core/dom/ExceptionCode.h" 7 #include "core/dom/ExceptionCode.h"
9 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
10 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" 9 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
10 #include "platform/bindings/ScriptState.h"
11 #include "public/platform/WebSecurityOrigin.h" 11 #include "public/platform/WebSecurityOrigin.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 InstallEvent* InstallEvent::Create(const AtomicString& type, 15 InstallEvent* InstallEvent::Create(const AtomicString& type,
16 const ExtendableEventInit& event_init) { 16 const ExtendableEventInit& event_init) {
17 return new InstallEvent(type, event_init); 17 return new InstallEvent(type, event_init);
18 } 18 }
19 19
20 InstallEvent* InstallEvent::Create(const AtomicString& type, 20 InstallEvent* InstallEvent::Create(const AtomicString& type,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const ExtendableEventInit& initializer) 101 const ExtendableEventInit& initializer)
102 : ExtendableEvent(type, initializer), event_id_(0) {} 102 : ExtendableEvent(type, initializer), event_id_(0) {}
103 103
104 InstallEvent::InstallEvent(const AtomicString& type, 104 InstallEvent::InstallEvent(const AtomicString& type,
105 const ExtendableEventInit& initializer, 105 const ExtendableEventInit& initializer,
106 int event_id, 106 int event_id,
107 WaitUntilObserver* observer) 107 WaitUntilObserver* observer)
108 : ExtendableEvent(type, initializer, observer), event_id_(event_id) {} 108 : ExtendableEvent(type, initializer, observer), event_id_(event_id) {}
109 109
110 } // namespace blink 110 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698