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

Side by Side Diff: webkit/api/public/WebKitClient.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 | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/api/public/WebStorageNamespace.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 77
78 // Application Cache -------------------------------------------- 78 // Application Cache --------------------------------------------
79 79
80 // May return null if the process type doesn't involve appcaching. 80 // May return null if the process type doesn't involve appcaching.
81 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostClient*) = 0; 81 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCacheHostClient*) = 0;
82 82
83 83
84 // DOM Storage -------------------------------------------------- 84 // DOM Storage --------------------------------------------------
85 85
86 // Return a LocalStorage namespace that corresponds to the following 86 // Return a LocalStorage namespace that corresponds to the following path.
87 // path. 87 virtual WebStorageNamespace* createLocalStorageNamespace(const WebString& path, unsigned quota) = 0;
88 virtual WebStorageNamespace* createLocalStorageNamespace(
89 const WebString& path) = 0;
90 88
91 // Return a new SessionStorage namespace. 89 // Return a new SessionStorage namespace.
92 virtual WebStorageNamespace* createSessionStorageNamespace() = 0; 90 virtual WebStorageNamespace* createSessionStorageNamespace() = 0;
93 91
94 92
95 // File ---------------------------------------------------------------- 93 // File ----------------------------------------------------------------
96 94
97 // Various file/directory related functions. These map 1:1 with 95 // Various file/directory related functions. These map 1:1 with
98 // functions in WebCore's FileSystem.h. 96 // functions in WebCore's FileSystem.h.
99 virtual bool fileExists(const WebString& path) = 0; 97 virtual bool fileExists(const WebString& path) = 0;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // Callable from a background WebKit thread. 225 // Callable from a background WebKit thread.
228 virtual void callOnMainThread(void (*func)()) = 0; 226 virtual void callOnMainThread(void (*func)()) = 0;
229 227
230 protected: 228 protected:
231 ~WebKitClient() { } 229 ~WebKitClient() { }
232 }; 230 };
233 231
234 } // namespace WebKit 232 } // namespace WebKit
235 233
236 #endif 234 #endif
OLDNEW
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/api/public/WebStorageNamespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698