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

Side by Side Diff: webkit/tools/test_shell/test_shell_webkit_init.h

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 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
7 7
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/stats_counters.h" 10 #include "base/stats_counters.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 clipboard_.reset(new webkit_glue::WebClipboardImpl()); 67 clipboard_.reset(new webkit_glue::WebClipboardImpl());
68 } 68 }
69 } 69 }
70 return clipboard_.get(); 70 return clipboard_.get();
71 } 71 }
72 72
73 virtual WebKit::WebSandboxSupport* sandboxSupport() { 73 virtual WebKit::WebSandboxSupport* sandboxSupport() {
74 return NULL; 74 return NULL;
75 } 75 }
76 76
77 virtual bool sandboxEnabled() {
78 return false;
79 }
80
77 virtual bool getFileSize(const WebKit::WebString& path, long long& result) { 81 virtual bool getFileSize(const WebKit::WebString& path, long long& result) {
78 return file_util::GetFileSize( 82 return file_util::GetFileSize(
79 FilePath(webkit_glue::WebStringToFilePathString(path)), 83 FilePath(webkit_glue::WebStringToFilePathString(path)),
80 reinterpret_cast<int64*>(&result)); 84 reinterpret_cast<int64*>(&result));
81 } 85 }
82 86
83 virtual unsigned long long visitedLinkHash(const char* canonicalURL, 87 virtual unsigned long long visitedLinkHash(const char* canonicalURL,
84 size_t length) { 88 size_t length) {
85 return 0; 89 return 0;
86 } 90 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() { 146 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() {
143 return WebKit::WebStorageNamespace::createSessionStorageNamespace(); 147 return WebKit::WebStorageNamespace::createSessionStorageNamespace();
144 } 148 }
145 149
146 private: 150 private:
147 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_; 151 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_;
148 scoped_ptr<WebKit::WebClipboard> clipboard_; 152 scoped_ptr<WebKit::WebClipboard> clipboard_;
149 }; 153 };
150 154
151 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 155 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | webkit/tools/test_shell/test_worker/test_worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698