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

Unified Diff: chrome/browser/extensions/app_background_page_apitest.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/extensions/app_background_page_apitest.cc
diff --git a/chrome/browser/extensions/app_background_page_apitest.cc b/chrome/browser/extensions/app_background_page_apitest.cc
index db030f019d8520e427a6dbb142eef66c6b35ec65..c423a8c7cd097f62ef884de80031973aa4c7c135 100644
--- a/chrome/browser/extensions/app_background_page_apitest.cc
+++ b/chrome/browser/extensions/app_background_page_apitest.cc
@@ -51,9 +51,9 @@ class AppBackgroundPageApiTest : public ExtensionApiTest {
return false;
}
base::FilePath manifest_path = app_dir_.path().AppendASCII("manifest.json");
- int bytes_written = file_util::WriteFile(manifest_path,
- app_manifest.data(),
- app_manifest.size());
+ int bytes_written = base::WriteFile(manifest_path,
+ app_manifest.data(),
+ app_manifest.size());
if (bytes_written != static_cast<int>(app_manifest.size())) {
LOG(ERROR) << "Unable to write complete manifest to file. Return code="
<< bytes_written;

Powered by Google App Engine
This is Rietveld 408576698