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

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

Issue 255050: Quota support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « webkit/glue/webkitclient_impl.cc ('k') | no next file » | 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 #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/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 return WebKit::WebData(red_square, arraysize(red_square)); 174 return WebKit::WebData(red_square, arraysize(red_square));
175 } 175 }
176 return webkit_glue::WebKitClientImpl::loadResource(name); 176 return webkit_glue::WebKitClientImpl::loadResource(name);
177 } 177 }
178 178
179 virtual WebKit::WebString defaultLocale() { 179 virtual WebKit::WebString defaultLocale() {
180 return ASCIIToUTF16("en-US"); 180 return ASCIIToUTF16("en-US");
181 } 181 }
182 182
183 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 183 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
184 const WebKit::WebString& path) { 184 const WebKit::WebString& path, unsigned quota) {
185 return WebKit::WebStorageNamespace::createLocalStorageNamespace(path); 185 return WebKit::WebStorageNamespace::createLocalStorageNamespace(path,
186 quota);
186 } 187 }
187 188
188 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() { 189 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() {
189 return WebKit::WebStorageNamespace::createSessionStorageNamespace(); 190 return WebKit::WebStorageNamespace::createSessionStorageNamespace();
190 } 191 }
191 192
192 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 193 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
193 WebKit::WebApplicationCacheHostClient* client) { 194 WebKit::WebApplicationCacheHostClient* client) {
194 return SimpleAppCacheSystem::CreateApplicationCacheHost(client); 195 return SimpleAppCacheSystem::CreateApplicationCacheHost(client);
195 } 196 }
(...skipping 15 matching lines...) Expand all
211 ScopedTempDir appcache_dir_; 212 ScopedTempDir appcache_dir_;
212 SimpleAppCacheSystem appcache_system_; 213 SimpleAppCacheSystem appcache_system_;
213 SimpleDatabaseSystem database_system_; 214 SimpleDatabaseSystem database_system_;
214 215
215 #if defined(OS_WIN) 216 #if defined(OS_WIN)
216 WebKit::WebThemeEngine* active_theme_engine_; 217 WebKit::WebThemeEngine* active_theme_engine_;
217 #endif 218 #endif
218 }; 219 };
219 220
220 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 221 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698