summaryrefslogtreecommitdiffstats
path: root/net/android
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-07 00:04:53 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-07 00:04:53 +0000
commit5a6ddb19886d009376be90a25b14e5a10a26b586 (patch)
treea4b11d08ca7feee8ccbef9074fe16b0b1f78f0db /net/android
parentb2ed3971b1a3a1f13c95d5144652e6c519c10c47 (diff)
downloadchromium_src-5a6ddb19886d009376be90a25b14e5a10a26b586.zip
chromium_src-5a6ddb19886d009376be90a25b14e5a10a26b586.tar.gz
chromium_src-5a6ddb19886d009376be90a25b14e5a10a26b586.tar.bz2
Move more file_util functions to base namespace.
TBR=sky Review URL: https://codereview.chromium.org/109043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/android')
-rw-r--r--net/android/keystore_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/android/keystore_unittest.cc b/net/android/keystore_unittest.cc
index 98944e2..58e3da7 100644
--- a/net/android/keystore_unittest.cc
+++ b/net/android/keystore_unittest.cc
@@ -117,8 +117,7 @@ EVP_PKEY* ImportPrivateKeyFile(const char* filename) {
// Load file in memory.
base::FilePath certs_dir = GetTestCertsDirectory();
base::FilePath file_path = certs_dir.AppendASCII(filename);
- ScopedStdioHandle handle(
- file_util::OpenFile(file_path, "rb"));
+ ScopedStdioHandle handle(base::OpenFile(file_path, "rb"));
if (!handle.get()) {
LOG(ERROR) << "Could not open private key file: " << filename;
return NULL;
@@ -167,7 +166,7 @@ EVP_PKEY* ImportPublicKeyFile(const char* filename) {
// Load file as PEM data.
base::FilePath certs_dir = GetTestCertsDirectory();
base::FilePath file_path = certs_dir.AppendASCII(filename);
- ScopedStdioHandle handle(file_util::OpenFile(file_path, "rb"));
+ ScopedStdioHandle handle(base::OpenFile(file_path, "rb"));
if (!handle.get()) {
LOG(ERROR) << "Could not open public key file: " << filename;
return NULL;