summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 17:55:52 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 17:55:52 +0000
commit03d9afc0b775748203170a27014a3ee3500aecc2 (patch)
treed911fe4a8ffa53ef58c25689011036399f327b16 /remoting
parente7a32a13a89efea50f38288ebeadbc3189d971de (diff)
downloadchromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.zip
chromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.tar.gz
chromium_src-03d9afc0b775748203170a27014a3ee3500aecc2.tar.bz2
Move temp file functions to base namespace.
BUG= Review URL: https://codereview.chromium.org/99923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/config_file_watcher_unittest.cc4
-rw-r--r--remoting/host/pairing_registry_delegate_linux_unittest.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/config_file_watcher_unittest.cc b/remoting/host/config_file_watcher_unittest.cc
index 1d349a3..2eaffd6 100644
--- a/remoting/host/config_file_watcher_unittest.cc
+++ b/remoting/host/config_file_watcher_unittest.cc
@@ -94,7 +94,7 @@ void ConfigFileWatcherTest::TearDown() {
// Verifies that the initial notification is delivered.
TEST_F(ConfigFileWatcherTest, Basic) {
- EXPECT_TRUE(file_util::CreateTemporaryFile(&config_file_));
+ EXPECT_TRUE(base::CreateTemporaryFile(&config_file_));
std::string data("test");
EXPECT_NE(file_util::WriteFile(config_file_, data.c_str(),
@@ -116,7 +116,7 @@ MATCHER_P(EqualsString, s, "") {
// Verifies that an update notification is sent when the file is changed.
TEST_F(ConfigFileWatcherTest, Update) {
- EXPECT_TRUE(file_util::CreateTemporaryFile(&config_file_));
+ EXPECT_TRUE(base::CreateTemporaryFile(&config_file_));
EXPECT_CALL(delegate_, OnConfigUpdated(EqualsString("test")))
.Times(1)
diff --git a/remoting/host/pairing_registry_delegate_linux_unittest.cc b/remoting/host/pairing_registry_delegate_linux_unittest.cc
index 70cd558..5ca9c94 100644
--- a/remoting/host/pairing_registry_delegate_linux_unittest.cc
+++ b/remoting/host/pairing_registry_delegate_linux_unittest.cc
@@ -19,7 +19,7 @@ class PairingRegistryDelegateLinuxTest : public testing::Test {
// Create a temporary directory in order to get a unique name and use a
// subdirectory to ensure that PairingRegistryDelegateLinux::Save() creates
// the parent directory if it doesn't exist.
- file_util::CreateNewTempDirectory("chromoting-test", &temp_dir_);
+ base::CreateNewTempDirectory("chromoting-test", &temp_dir_);
temp_registry_ = temp_dir_.Append("paired-clients");
}