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

Unified Diff: chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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
« no previous file with comments | « base/files/file_util_proxy_unittest.cc ('k') | chrome/browser/chromeos/drive/async_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
index 139cbcdc8ad47033cf8eae5e5a5907b488a8af17..b7081e3a55216d7e2ddb49ea155ff19c8ec701bd 100644
--- a/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_file_system_helper_unittest.cc
@@ -96,7 +96,7 @@ class BrowsingDataFileSystemHelperTest : public testing::Test {
// fileapi::FileSystemContext::OpenFileSystem.
void OpenFileSystemCallback(const GURL& root,
const std::string& name,
- base::PlatformFileError error) {
+ base::File::Error error) {
open_file_system_result_ = error;
Notify();
}
@@ -111,7 +111,7 @@ class BrowsingDataFileSystemHelperTest : public testing::Test {
&BrowsingDataFileSystemHelperTest::OpenFileSystemCallback,
base::Unretained(this)));
BlockUntilNotified();
- return open_file_system_result_ == base::PLATFORM_FILE_OK;
+ return open_file_system_result_ == base::File::FILE_OK;
}
// Calls fileapi::FileSystemContext::OpenFileSystem with
@@ -176,7 +176,7 @@ class BrowsingDataFileSystemHelperTest : public testing::Test {
fileapi::FileSystemType type) {
OpenFileSystem(origin, type,
fileapi::OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT);
- EXPECT_EQ(base::PLATFORM_FILE_OK, open_file_system_result_);
+ EXPECT_EQ(base::File::FILE_OK, open_file_system_result_);
}
// Returns a list of the FileSystemInfo objects gathered in the most recent
@@ -190,7 +190,7 @@ class BrowsingDataFileSystemHelperTest : public testing::Test {
scoped_ptr<TestingProfile> profile_;
// Temporary storage to pass information back from callbacks.
- base::PlatformFileError open_file_system_result_;
+ base::File::Error open_file_system_result_;
ScopedFileSystemInfoList file_system_info_list_;
scoped_refptr<BrowsingDataFileSystemHelper> helper_;
« no previous file with comments | « base/files/file_util_proxy_unittest.cc ('k') | chrome/browser/chromeos/drive/async_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698