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

Side by Side Diff: webkit/tools/test_shell/test_web_worker.cc

Issue 8416029: Removing dedicated worker-related IPC code (second round). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Style nit Created 9 years, 1 month 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 (c) 2011 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 "webkit/tools/test_shell/test_web_worker.h"
6
7 TestWebWorker::TestWebWorker() {
8 AddRef(); // Adds the reference held for worker object.
9 AddRef(); // Adds the reference held for worker context object.
10 }
11
12 void TestWebWorker::workerObjectDestroyed() {
13 Release(); // Releases the reference held for worker object.
14 }
15
16 void TestWebWorker::workerContextDestroyed() {
17 Release(); // Releases the reference held for worker context object.
18 }
19
20 WebKit::WebWorker* TestWebWorker::createWorker(
21 WebKit::WebWorkerClient* client) {
22 return NULL;
23 }
24
25 WebKit::WebNotificationPresenter* TestWebWorker::notificationPresenter() {
26 return NULL;
27 }
28
29 WebKit::WebApplicationCacheHost* TestWebWorker::createApplicationCacheHost(
30 WebKit::WebApplicationCacheHostClient*) {
31 return NULL;
32 }
33
34 bool TestWebWorker::allowDatabase(WebKit::WebFrame* frame,
35 const WebKit::WebString& name,
36 const WebKit::WebString& display_name,
37 unsigned long estimated_size) {
38 return true;
39 }
40
41 TestWebWorker::~TestWebWorker() {}
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_web_worker.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698