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

Unified Diff: chrome/browser/profiles/profile.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. 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/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index d2087fcafa4123ce8563272542b3bb5e04d389bf..f555a17f359f524633562cb965eec27cacd7a8ba 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -19,7 +19,7 @@
#include "chrome/browser/download/download_manager.h"
#include "chrome/browser/extensions/extension_message_service.h"
#include "chrome/browser/extensions/extension_process_manager.h"
-#include "chrome/browser/file_system/browser_file_system_context.h"
+#include "chrome/browser/file_system/browser_file_system_helper.h"
#include "chrome/browser/in_process_webkit/webkit_context.h"
#include "chrome/browser/net/chrome_url_request_context.h"
#include "chrome/browser/notifications/desktop_notification_service.h"
@@ -337,12 +337,12 @@ class OffTheRecordProfileImpl : public Profile,
return NULL;
}
- virtual BrowserFileSystemContext* GetFileSystemContext() {
- if (!browser_file_system_context_)
- browser_file_system_context_ = new BrowserFileSystemContext(
+ virtual fileapi::SandboxedFileSystemContext* GetFileSystemContext() {
+ if (!file_system_context_)
+ 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();
}
virtual void InitThemes() {
@@ -669,7 +669,7 @@ class OffTheRecordProfileImpl : public Profile,
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
// The file_system context for this profile.
- scoped_refptr<BrowserFileSystemContext> browser_file_system_context_;
+ scoped_refptr<fileapi::SandboxedFileSystemContext> file_system_context_;
DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
};
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698