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

Side by Side Diff: chrome/browser/in_process_webkit/browser_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
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/browser/in_process_webkit/browser_webkitclient_impl.h" 5 #include "chrome/browser/in_process_webkit/browser_webkitclient_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "webkit/api/public/WebData.h" 8 #include "webkit/api/public/WebData.h"
9 #include "webkit/api/public/WebString.h" 9 #include "webkit/api/public/WebString.h"
10 #include "webkit/api/public/WebURL.h" 10 #include "webkit/api/public/WebURL.h"
11 11
12 WebKit::WebClipboard* BrowserWebKitClientImpl::clipboard() { 12 WebKit::WebClipboard* BrowserWebKitClientImpl::clipboard() {
13 NOTREACHED(); 13 NOTREACHED();
14 return NULL; 14 return NULL;
15 } 15 }
16 16
17 WebKit::WebMimeRegistry* BrowserWebKitClientImpl::mimeRegistry() { 17 WebKit::WebMimeRegistry* BrowserWebKitClientImpl::mimeRegistry() {
18 NOTREACHED(); 18 NOTREACHED();
19 return NULL; 19 return NULL;
20 } 20 }
21 21
22 WebKit::WebSandboxSupport* BrowserWebKitClientImpl::sandboxSupport() { 22 WebKit::WebSandboxSupport* BrowserWebKitClientImpl::sandboxSupport() {
23 NOTREACHED(); 23 NOTREACHED();
24 return NULL; 24 return NULL;
25 } 25 }
26 26
27 bool BrowserWebKitClientImpl::sandboxEnabled() {
28 return false;
29 }
30
27 unsigned long long BrowserWebKitClientImpl::visitedLinkHash( 31 unsigned long long BrowserWebKitClientImpl::visitedLinkHash(
28 const char* canonical_url, 32 const char* canonical_url,
29 size_t length) { 33 size_t length) {
30 NOTREACHED(); 34 NOTREACHED();
31 return 0; 35 return 0;
32 } 36 }
33 37
34 bool BrowserWebKitClientImpl::isLinkVisited(unsigned long long link_hash) { 38 bool BrowserWebKitClientImpl::isLinkVisited(unsigned long long link_hash) {
35 NOTREACHED(); 39 NOTREACHED();
36 return false; 40 return false;
(...skipping 14 matching lines...) Expand all
51 WebKit::WebString BrowserWebKitClientImpl::cookies( 55 WebKit::WebString BrowserWebKitClientImpl::cookies(
52 const WebKit::WebURL& url, const WebKit::WebURL& policy_url) { 56 const WebKit::WebURL& url, const WebKit::WebURL& policy_url) {
53 NOTREACHED(); 57 NOTREACHED();
54 return WebKit::WebString(); 58 return WebKit::WebString();
55 } 59 }
56 60
57 void BrowserWebKitClientImpl::prefetchHostName(const WebKit::WebString&) { 61 void BrowserWebKitClientImpl::prefetchHostName(const WebKit::WebString&) {
58 NOTREACHED(); 62 NOTREACHED();
59 } 63 }
60 64
61 bool BrowserWebKitClientImpl::getFileSize(const WebKit::WebString& path,
62 long long& result) {
63 NOTREACHED();
64 return false;
65 }
66
67 WebKit::WebString BrowserWebKitClientImpl::defaultLocale() { 65 WebKit::WebString BrowserWebKitClientImpl::defaultLocale() {
68 NOTREACHED(); 66 NOTREACHED();
69 return WebKit::WebString(); 67 return WebKit::WebString();
70 } 68 }
71 69
72 WebKit::WebThemeEngine* BrowserWebKitClientImpl::themeEngine() { 70 WebKit::WebThemeEngine* BrowserWebKitClientImpl::themeEngine() {
73 NOTREACHED(); 71 NOTREACHED();
74 return NULL; 72 return NULL;
75 } 73 }
76 74
(...skipping 23 matching lines...) Expand all
100 } 98 }
101 99
102 WebKit::WebStorageNamespace* 100 WebKit::WebStorageNamespace*
103 BrowserWebKitClientImpl::createSessionStorageNamespace() { 101 BrowserWebKitClientImpl::createSessionStorageNamespace() {
104 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit 102 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit
105 // communication only. "WebStorageClient" will be used for browser WebKit -> 103 // communication only. "WebStorageClient" will be used for browser WebKit ->
106 // renderer WebKit. So this will never be implemented. 104 // renderer WebKit. So this will never be implemented.
107 NOTREACHED(); 105 NOTREACHED();
108 return 0; 106 return 0;
109 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698