diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 23:07:36 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 23:07:36 +0000 |
commit | 5553d5bcd8c1f0d90d74a2a52a4c9af51d730d01 (patch) | |
tree | f719fa0c440cb3492ccf9c9a2739afd5af5eace6 /chrome/browser/extensions/extension_service_unittest.cc | |
parent | 10c1234fe5e6b43cd9f2f03f91da2c96083c7643 (diff) | |
download | chromium_src-5553d5bcd8c1f0d90d74a2a52a4c9af51d730d01.zip chromium_src-5553d5bcd8c1f0d90d74a2a52a4c9af51d730d01.tar.gz chromium_src-5553d5bcd8c1f0d90d74a2a52a4c9af51d730d01.tar.bz2 |
Move DeleteAfterReboot, Move, and ReplaceFile to base namespace
Rename ReplaceFileAndGetError (only used once) to ReplaceFile (used 5 times) and have each of those callers specify NULL for the output error if they don't care.
Remove InsertBeforeExtension from file_util.cc which seems to be unused.
BUG=
Review URL: https://codereview.chromium.org/18383003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_service_unittest.cc')
-rw-r--r-- | chrome/browser/extensions/extension_service_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc index 6a5de4b..9297723 100644 --- a/chrome/browser/extensions/extension_service_unittest.cc +++ b/chrome/browser/extensions/extension_service_unittest.cc @@ -2177,7 +2177,7 @@ TEST_F(ExtensionServiceTest, PackExtensionContainingKeyFails) { base::Delete(crx_path, false); // Move the pem file into the extension. - file_util::Move(privkey_path, + base::Move(privkey_path, input_directory.AppendASCII("privkey.pem")); // This pack should fail because of the contained private key. |