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

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

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase 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 1
2 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include "modules/serviceworkers/ServiceWorkerContainer.h" 6 #include "modules/serviceworkers/ServiceWorkerContainer.h"
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "bindings/core/v8/Dictionary.h" 11 #include "bindings/core/v8/Dictionary.h"
12 #include "bindings/core/v8/ScriptFunction.h" 12 #include "bindings/core/v8/ScriptFunction.h"
13 #include "bindings/core/v8/ScriptPromise.h" 13 #include "bindings/core/v8/ScriptPromise.h"
14 #include "bindings/core/v8/ScriptState.h" 14 #include "bindings/core/v8/ScriptState.h"
15 #include "bindings/core/v8/V8Binding.h" 15 #include "bindings/core/v8/V8BindingForCore.h"
16 #include "bindings/core/v8/V8DOMException.h" 16 #include "bindings/core/v8/V8DOMException.h"
17 #include "bindings/core/v8/V8GCController.h" 17 #include "bindings/core/v8/V8GCController.h"
18 #include "core/dom/DOMException.h" 18 #include "core/dom/DOMException.h"
19 #include "core/dom/Document.h" 19 #include "core/dom/Document.h"
20 #include "core/dom/ExecutionContext.h" 20 #include "core/dom/ExecutionContext.h"
21 #include "core/page/FocusController.h" 21 #include "core/page/FocusController.h"
22 #include "core/testing/DummyPageHolder.h" 22 #include "core/testing/DummyPageHolder.h"
23 #include "modules/serviceworkers/NavigatorServiceWorker.h" 23 #include "modules/serviceworkers/NavigatorServiceWorker.h"
24 #include "modules/serviceworkers/ServiceWorkerContainerClient.h" 24 #include "modules/serviceworkers/ServiceWorkerContainerClient.h"
25 #include "platform/weborigin/KURL.h" 25 #include "platform/weborigin/KURL.h"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 ScriptState::Scope script_scope(GetScriptState()); 374 ScriptState::Scope script_scope(GetScriptState());
375 container->getRegistration(GetScriptState(), ""); 375 container->getRegistration(GetScriptState(), "");
376 EXPECT_EQ(1ul, stub_provider.GetRegistrationCallCount()); 376 EXPECT_EQ(1ul, stub_provider.GetRegistrationCallCount());
377 EXPECT_EQ(WebURL(KURL(KURL(), "http://localhost/x/index.html")), 377 EXPECT_EQ(WebURL(KURL(KURL(), "http://localhost/x/index.html")),
378 stub_provider.GetRegistrationURL()); 378 stub_provider.GetRegistrationURL());
379 } 379 }
380 } 380 }
381 381
382 } // namespace 382 } // namespace
383 } // namespace blink 383 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698