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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api_unittest.cc

Issue 16043006: Rename FileSystemMountPointProvider::ValidateFileSystemRoot to OpenFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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/extensions/api/downloads/downloads_api_unittest.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc
index 74619dcc27dabc189722d11cec6c964a0ee87886..63ef0630ad81930f3179151055b994f6658ffaea 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc
@@ -770,7 +770,7 @@ class HTML5FileWriter {
fs_->OpenFileSystem(
GURL(origin_),
fileapi::kFileSystemTypeTemporary,
- kCreateFileSystem,
+ fileapi::OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
base::Bind(&HTML5FileWriter::OpenFileSystemCallback,
base::Unretained(this)));
return events_listener_->WaitFor(profile_, kHTML5FileWritten, filename_);
@@ -780,7 +780,6 @@ class HTML5FileWriter {
static const char kHTML5FileWritten[];
static const char kURLRequestContextToreDown[];
static const bool kExclusive = true;
- static const bool kCreateFileSystem = true;
GURL blob_url() const { return GURL("blob:" + filename_); }

Powered by Google App Engine
This is Rietveld 408576698