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

Unified Diff: storage/browser/fileapi/file_system_context.cc

Issue 2556803003: Allow temporary file system for incognito DevTools. (Closed)
Patch Set: Created 4 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: storage/browser/fileapi/file_system_context.cc
diff --git a/storage/browser/fileapi/file_system_context.cc b/storage/browser/fileapi/file_system_context.cc
index f1fcf23eb9d419d6a0297edda3e57b9116a5abc4..d630837708c3c0506b9d4991a67c61dff846e835 100644
--- a/storage/browser/fileapi/file_system_context.cc
+++ b/storage/browser/fileapi/file_system_context.cc
@@ -483,11 +483,9 @@ FileSystemURL FileSystemContext::CreateCrackedFileSystemURL(
return CrackFileSystemURL(FileSystemURL(origin, type, path));
}
-#if defined(OS_CHROMEOS)
void FileSystemContext::EnableTemporaryFileSystemInIncognito() {
sandbox_backend_->set_enable_temporary_file_system_in_incognito(true);
}
-#endif
bool FileSystemContext::CanServeURLRequest(const FileSystemURL& url) const {
// We never support accessing files in isolated filesystems via an URL.

Powered by Google App Engine
This is Rietveld 408576698