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

Side by Side Diff: chrome/worker/worker_webkitclient_impl.cc

Issue 159778: Make LocalStorage persistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.h ('k') | webkit/api/public/WebKitClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/worker/worker_webkitclient_impl.h" 5 #include "chrome/worker/worker_webkitclient_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/common/webmessageportchannel_impl.h" 8 #include "chrome/common/webmessageportchannel_impl.h"
9 #include "chrome/worker/worker_thread.h" 9 #include "chrome/worker/worker_thread.h"
10 #include "webkit/api/public/WebString.h" 10 #include "webkit/api/public/WebString.h"
11 #include "webkit/api/public/WebURL.h" 11 #include "webkit/api/public/WebURL.h"
12 12
13 WebKit::WebClipboard* WorkerWebKitClientImpl::clipboard() { 13 WebKit::WebClipboard* WorkerWebKitClientImpl::clipboard() {
14 NOTREACHED(); 14 NOTREACHED();
15 return NULL; 15 return NULL;
16 } 16 }
17 17
18 WebKit::WebMimeRegistry* WorkerWebKitClientImpl::mimeRegistry() { 18 WebKit::WebMimeRegistry* WorkerWebKitClientImpl::mimeRegistry() {
19 NOTREACHED(); 19 NOTREACHED();
20 return NULL; 20 return NULL;
21 } 21 }
22 22
23 WebKit::WebSandboxSupport* WorkerWebKitClientImpl::sandboxSupport() { 23 WebKit::WebSandboxSupport* WorkerWebKitClientImpl::sandboxSupport() {
24 NOTREACHED(); 24 NOTREACHED();
25 return NULL; 25 return NULL;
26 } 26 }
27 27
28 bool WorkerWebKitClientImpl::sandboxEnabled() {
29 // Always return true because WebKit should always act as though the Sandbox
30 // is enabled for workers. See the comment in WebKitClient for more info.
31 return true;
32 }
33
28 unsigned long long WorkerWebKitClientImpl::visitedLinkHash( 34 unsigned long long WorkerWebKitClientImpl::visitedLinkHash(
29 const char* canonical_url, 35 const char* canonical_url,
30 size_t length) { 36 size_t length) {
31 NOTREACHED(); 37 NOTREACHED();
32 return 0; 38 return 0;
33 } 39 }
34 40
35 bool WorkerWebKitClientImpl::isLinkVisited(unsigned long long link_hash) { 41 bool WorkerWebKitClientImpl::isLinkVisited(unsigned long long link_hash) {
36 NOTREACHED(); 42 NOTREACHED();
37 return false; 43 return false;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const WebKit::WebString& path) { 80 const WebKit::WebString& path) {
75 NOTREACHED(); 81 NOTREACHED();
76 return 0; 82 return 0;
77 } 83 }
78 84
79 WebKit::WebStorageNamespace* 85 WebKit::WebStorageNamespace*
80 WorkerWebKitClientImpl::createSessionStorageNamespace() { 86 WorkerWebKitClientImpl::createSessionStorageNamespace() {
81 NOTREACHED(); 87 NOTREACHED();
82 return 0; 88 return 0;
83 } 89 }
OLDNEW
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.h ('k') | webkit/api/public/WebKitClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698