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

Unified Diff: chrome/browser/file_system/browser_file_system_context.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
Index: chrome/browser/file_system/browser_file_system_context.cc
diff --git a/chrome/browser/file_system/browser_file_system_context.cc b/chrome/browser/file_system/browser_file_system_context.cc
deleted file mode 100644
index bbc4806afdb25d3bde493c63766ea7cbbbaf4f73..0000000000000000000000000000000000000000
--- a/chrome/browser/file_system/browser_file_system_context.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/file_system/browser_file_system_context.h"
-
-#include "base/file_path.h"
-#include "base/command_line.h"
-#include "chrome/common/chrome_switches.h"
-#include "webkit/fileapi/file_system_quota_manager.h"
-
-BrowserFileSystemContext::BrowserFileSystemContext(
- const FilePath& profile_path, bool is_incognito)
- : fileapi::SandboxedFileSystemContext(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
- profile_path,
- is_incognito,
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAllowFileAccessFromFiles),
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kUnlimitedQuotaForFiles)) {
-}
-
-void BrowserFileSystemContext::SetOriginQuotaUnlimited(const GURL& url) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- quota_manager()->SetOriginQuotaUnlimited(url);
-}
-
-void BrowserFileSystemContext::ResetOriginQuotaUnlimited(const GURL& url) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- quota_manager()->ResetOriginQuotaUnlimited(url);
-}
-
-BrowserFileSystemContext::~BrowserFileSystemContext() {}
« no previous file with comments | « chrome/browser/file_system/browser_file_system_context.h ('k') | chrome/browser/file_system/browser_file_system_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698