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

Unified Diff: content/public/browser/content_browser_client.h

Issue 14317004: Add ContentBrowserClient::GetAdditionalFileSystemMountPointProviders() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/browser/fileapi/browser_file_system_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 0c417e90f7771ad50694d3fb35a9dd29774ca8a3..53cc465812ea5da7ed850f402d203ba1e8ab7b6e 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -13,9 +13,10 @@
#include "base/callback_forward.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/scoped_vector.h"
#include "content/public/browser/file_descriptor_info.h"
-#include "content/public/common/socket_permission_request.h"
#include "content/public/common/content_client.h"
+#include "content/public/common/socket_permission_request.h"
#include "content/public/common/window_container_type.h"
#include "net/base/mime_util.h"
#include "net/cookies/canonical_cookie.h"
@@ -61,6 +62,10 @@ namespace ui {
class SelectFilePolicy;
}
+namespace fileapi {
+class FileSystemMountPointProvider;
+}
+
namespace webkit_glue {
struct WebPreferences;
}
@@ -496,6 +501,11 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* additional_schemes) {}
+ // Returns additional MountPointProvider for FileSystem API.
+ virtual void GetAdditionalFileSystemMountPointProvider(
jam 2013/04/18 16:16:30 why is this a ScopedVector instead of passing in a
+ ScopedVector<fileapi::FileSystemMountPointProvider>*
+ additional_providers) {}
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Populates |mappings| with all files that need to be mapped before launching
// a child process.
« no previous file with comments | « content/browser/fileapi/browser_file_system_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698