Chromium Code Reviews

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 5633008: Remove BrowserFileSystemContext class (merge into SandboxedFSContext) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 20c8166448dc43b229f33ef28d5538ed58372aa8..f2f9cde422e9d51bccb25451d64bb78768ffee72 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -40,7 +40,7 @@
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/extensions/user_script_master.h"
#include "chrome/browser/favicon_service.h"
-#include "chrome/browser/file_system/browser_file_system_context.h"
+#include "chrome/browser/file_system/browser_file_system_helper.h"
#include "chrome/browser/geolocation/geolocation_content_settings_map.h"
#include "chrome/browser/geolocation/geolocation_permission_context.h"
#include "chrome/browser/history/history.h"
@@ -1012,12 +1012,12 @@ PersonalDataManager* ProfileImpl::GetPersonalDataManager() {
return personal_data_manager_.get();
}
-BrowserFileSystemContext* ProfileImpl::GetFileSystemContext() {
- if (!browser_file_system_context_.get())
- browser_file_system_context_ = new BrowserFileSystemContext(
+fileapi::SandboxedFileSystemContext* ProfileImpl::GetFileSystemContext() {
+ if (!file_system_context_.get())
+ file_system_context_ = CreateFileSystemContext(
GetPath(), IsOffTheRecord());
- DCHECK(browser_file_system_context_.get());
- return browser_file_system_context_.get();
+ DCHECK(file_system_context_.get());
+ return file_system_context_.get();
}
void ProfileImpl::InitThemes() {
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine