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

Unified Diff: webkit/quota/special_storage_policy.h

Issue 6810037: File API changes needed for safely passing user selected file entities from the file browser comp... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « webkit/fileapi/webkit_fileapi.gypi ('k') | webkit/tools/test_shell/simple_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/special_storage_policy.h
===================================================================
--- webkit/quota/special_storage_policy.h (revision 81835)
+++ webkit/quota/special_storage_policy.h (working copy)
@@ -5,6 +5,8 @@
#ifndef WEBKIT_QUOTA_SPECIAL_STORAGE_POLICY_H_
#define WEBKIT_QUOTA_SPECIAL_STORAGE_POLICY_H_
+#include <string>
+
#include "base/memory/ref_counted.h"
class GURL;
@@ -27,8 +29,9 @@
// Unlimited storage is not subject to 'quotas'.
virtual bool IsStorageUnlimited(const GURL& origin) = 0;
- // Local file system access allowed via File API.
- virtual bool IsLocalFileSystemAccessAllowed(const GURL& origin) = 0;
+ // Checks if extension identified with |extension_id| is registered as
+ // file handler.
+ virtual bool IsFileHandler(const std::string& extension_id) = 0;
protected:
friend class base::RefCountedThreadSafe<SpecialStoragePolicy>;
« no previous file with comments | « webkit/fileapi/webkit_fileapi.gypi ('k') | webkit/tools/test_shell/simple_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698