diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 01:12:12 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-14 01:12:12 +0000 |
commit | b7b82eb3dce4220e592472d0f9220280d1246243 (patch) | |
tree | 2fa55d5d932949d4a313ca3b7d8ed39fc9c81d11 /chrome/browser/profiles/profile.cc | |
parent | a097393e6e0f08f521c977677bed01a0ad01120b (diff) | |
download | chromium_src-b7b82eb3dce4220e592472d0f9220280d1246243.zip chromium_src-b7b82eb3dce4220e592472d0f9220280d1246243.tar.gz chromium_src-b7b82eb3dce4220e592472d0f9220280d1246243.tar.bz2 |
Remove BrowserFileSystemContext class and merge it into SandboxedFileSystemContext
BUG=60243
TEST=none
Review URL: http://codereview.chromium.org/5633008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile.cc')
-rw-r--r-- | chrome/browser/profiles/profile.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc index d2087fc..f555a17f 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); }; |