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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.cc

Issue 3028033: Add a helper class that keeps per-profile information for FileSystem API (Closed)
Patch Set: fixed tests Created 10 years, 4 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 | « chrome/browser/profile_impl.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_message_filter.cc
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc
index f0cc11bae35353c5b1db809071a07c20f81c8ee1..bd37c089e8024a0431c5967326c9256b161bc8c1 100644
--- a/chrome/browser/renderer_host/resource_message_filter.cc
+++ b/chrome/browser/renderer_host/resource_message_filter.cc
@@ -31,6 +31,7 @@
#include "chrome/browser/download/download_file.h"
#include "chrome/browser/extensions/extension_message_service.h"
#include "chrome/browser/file_system/file_system_dispatcher_host.h"
+#include "chrome/browser/file_system/file_system_host_context.h"
#include "chrome/browser/geolocation/geolocation_permission_context.h"
#include "chrome/browser/geolocation/geolocation_dispatcher_host.h"
#include "chrome/browser/gpu_process_host.h"
@@ -255,6 +256,7 @@ ResourceMessageFilter::ResourceMessageFilter(
new device_orientation::DispatcherHost(this->id()))),
ALLOW_THIS_IN_INITIALIZER_LIST(file_system_dispatcher_host_(
new FileSystemDispatcherHost(this,
+ profile->GetFileSystemHostContext(),
profile->GetHostContentSettingsMap()))) {
request_context_ = profile_->GetRequestContext();
DCHECK(request_context_);
« no previous file with comments | « chrome/browser/profile_impl.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698