summaryrefslogtreecommitdiffstats
path: root/remoting/host/config_file_watcher_unittest.cc
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/host/config_file_watcher_unittest.cc
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/host/config_file_watcher_unittest.cc')
-rw-r--r--remoting/host/config_file_watcher_unittest.cc4
1 files changed, 2 insertions, 2 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)