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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.h

Issue 7433006: Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper_plugin_delegate_impl.h
diff --git a/content/renderer/pepper_plugin_delegate_impl.h b/content/renderer/pepper_plugin_delegate_impl.h
index e920c4665b8b1de2b8dc39bd3b3234abe0306522..2c21a7cae49c74cbf0ff05a5c50bdd25007aeee8 100644
--- a/content/renderer/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper_plugin_delegate_impl.h
@@ -201,6 +201,7 @@ class PepperPluginDelegateImpl
virtual bool AsyncOpenFileSystemURL(const GURL& path,
int flags,
AsyncOpenFileCallback* callback);
+
brettw 2011/07/19 20:29:31 It's not clear why you added this.
kinuko 2011/07/20 13:39:35 Removed.
virtual bool OpenFileSystem(
const GURL& url,
fileapi::FileSystemType type,
@@ -222,6 +223,14 @@ class PepperPluginDelegateImpl
fileapi::FileSystemCallbackDispatcher* dispatcher);
virtual bool ReadDirectory(const GURL& directory_path,
fileapi::FileSystemCallbackDispatcher* dispatcher);
+ virtual bool CanWrite(const GURL& origin,
+ quota::StorageType type,
+ int64 growth,
+ QuotaStatusCallback* callback) const;
+ virtual void NotifyStorageModified(quota::QuotaClient::ID client_id,
+ const GURL& origin,
+ quota::StorageType type,
+ int64 delta);
virtual base::PlatformFileError OpenFile(
const webkit::ppapi::PepperFilePath& path,
int flags,

Powered by Google App Engine
This is Rietveld 408576698