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

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

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/browsing_data/browsing_data_database_helper_browsertest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc b/chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc
index cc56690181a693028767322a140e91095398ecf6..971550a7ed9baf5f6756302d54d1e1b37bb3ee22 100644
--- a/chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc
+++ b/chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc
@@ -42,14 +42,14 @@ class BrowsingDataDatabaseHelperTest : public InProcessBrowserTest {
base::FilePath db_path1 =
db_tracker->GetFullDBFilePath(kTestIdentifier1, db_name);
base::CreateDirectory(db_path1.DirName());
- ASSERT_EQ(0, file_util::WriteFile(db_path1, NULL, 0));
+ ASSERT_EQ(0, base::WriteFile(db_path1, NULL, 0));
db_tracker->DatabaseOpened(kTestIdentifierExtension, db_name, description,
1, &size);
db_tracker->DatabaseClosed(kTestIdentifierExtension, db_name);
base::FilePath db_path2 =
db_tracker->GetFullDBFilePath(kTestIdentifierExtension, db_name);
base::CreateDirectory(db_path2.DirName());
- ASSERT_EQ(0, file_util::WriteFile(db_path2, NULL, 0));
+ ASSERT_EQ(0, base::WriteFile(db_path2, NULL, 0));
std::vector<webkit_database::OriginInfo> origins;
db_tracker->GetAllOriginsInfo(&origins);
ASSERT_EQ(2U, origins.size());
« no previous file with comments | « chrome/browser/browser_shutdown.cc ('k') | chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698