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

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

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Address Vandebo's comments. 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
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..5a594848b1ad2ca74a14ea6d6cd050e682ab51b7 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,12 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* additional_schemes) {}
+ // Returns additional MountPointProviders for FileSystem API.
+ virtual void GetAdditionalFileSystemMountPointProviders(
kinuko 2013/04/23 03:53:39 I forgot to include it in my original CL but we ma
tommycli 2013/04/23 17:01:32 I'll add in separate CL.
+ const base::FilePath& partition_path,
jam 2013/04/23 17:21:39 nit: to be clearer, I would name this storage_part
tommycli 2013/04/23 17:37:01 Done.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698