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

Unified Diff: content/browser/devtools/devtools_http_handler_unittest.cc

Issue 2316043002: //content: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 months 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
Index: content/browser/devtools/devtools_http_handler_unittest.cc
diff --git a/content/browser/devtools/devtools_http_handler_unittest.cc b/content/browser/devtools/devtools_http_handler_unittest.cc
index 70fb555f84dff40b63582ec83a7b986a7e56f029..db400720f253a1ff1a51d462cabb4e14e3dcd33b 100644
--- a/content/browser/devtools/devtools_http_handler_unittest.cc
+++ b/content/browser/devtools/devtools_http_handler_unittest.cc
@@ -176,7 +176,7 @@ TEST_F(DevToolsHttpHandlerTest, TestDevToolsActivePort) {
run_loop_2.QuitClosure()));
DevToolsAgentHost::StartRemoteDebuggingServer(
- std::move(factory), std::string(), temp_dir.path(), base::FilePath(),
+ std::move(factory), std::string(), temp_dir.GetPath(), base::FilePath(),
std::string(), std::string());
// Our dummy socket factory will post a quit message once the server will
// become ready.
@@ -187,8 +187,8 @@ TEST_F(DevToolsHttpHandlerTest, TestDevToolsActivePort) {
// Now make sure the DevToolsActivePort was written into the
// temporary directory and its contents are as expected.
- base::FilePath active_port_file = temp_dir.path().Append(
- kDevToolsActivePortFileName);
+ base::FilePath active_port_file =
+ temp_dir.GetPath().Append(kDevToolsActivePortFileName);
EXPECT_TRUE(base::PathExists(active_port_file));
std::string file_contents;
EXPECT_TRUE(base::ReadFileToString(active_port_file, &file_contents));
« no previous file with comments | « content/browser/database_tracker_unittest.cc ('k') | content/browser/dom_storage/dom_storage_area_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698