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

Unified Diff: chrome/browser/process_singleton_win_unittest.cc

Issue 2317123002: c/browser, c/common, components O-P: 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: chrome/browser/process_singleton_win_unittest.cc
diff --git a/chrome/browser/process_singleton_win_unittest.cc b/chrome/browser/process_singleton_win_unittest.cc
index 2aed9fc6123dfa1abfa8e19e0865ac73efc0c8a5..df53228df8a9d58e9d231b18892bc88d38fafcb7 100644
--- a/chrome/browser/process_singleton_win_unittest.cc
+++ b/chrome/browser/process_singleton_win_unittest.cc
@@ -206,7 +206,7 @@ class ProcessSingletonTest : public base::MultiProcessTest {
base::CommandLine MakeCmdLine(const std::string& procname) override {
base::CommandLine cmd_line = base::MultiProcessTest::MakeCmdLine(procname);
- cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir_.path());
+ cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir_.GetPath());
cmd_line.AppendSwitchNative(kReadyEventNameFlag, ready_event_name_);
cmd_line.AppendSwitchNative(kContinueEventNameFlag, continue_event_name_);
if (window_option_ == WITH_WINDOW)
@@ -229,7 +229,9 @@ class ProcessSingletonTest : public base::MultiProcessTest {
}
base::Process* browser_victim() { return &browser_victim_; }
- const base::FilePath& user_data_dir() const { return user_data_dir_.path(); }
+ const base::FilePath& user_data_dir() const {
+ return user_data_dir_.GetPath();
+ }
ProcessSingleton* test_singleton() const { return test_singleton_.get(); }
bool should_kill_called() const { return should_kill_called_; }
« no previous file with comments | « chrome/browser/process_singleton_posix_unittest.cc ('k') | chrome/browser/profile_resetter/profile_resetter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698