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

Unified Diff: remoting/host/config_file_watcher_unittest.cc

Issue 99923002: Move temp file functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | remoting/host/pairing_registry_delegate_linux_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/config_file_watcher_unittest.cc
diff --git a/remoting/host/config_file_watcher_unittest.cc b/remoting/host/config_file_watcher_unittest.cc
index 1d349a378b5b30d0b3a62fbe613f87e4257b777c..2eaffd6d5390805c4027d7519ad2273f11cf7f20 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)
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | remoting/host/pairing_registry_delegate_linux_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698