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

Unified Diff: components/browser_watcher/exit_code_watcher_win.cc

Issue 1630923002: Remove PRODUCT_STRING_PATH from chrome_constants.h on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@c2_rm_PSP_profile_resetter
Patch Set: nit Created 4 years, 8 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: components/browser_watcher/exit_code_watcher_win.cc
diff --git a/components/browser_watcher/exit_code_watcher_win.cc b/components/browser_watcher/exit_code_watcher_win.cc
index 76aacd0e571c00f7ab16dd3241815f94a9fba935..3d762edaada74b643ec33cebc260ee7d04ca2b4c 100644
--- a/components/browser_watcher/exit_code_watcher_win.cc
+++ b/components/browser_watcher/exit_code_watcher_win.cc
@@ -24,9 +24,8 @@ base::string16 GetValueName(const base::Time creation_time,
} // namespace
-ExitCodeWatcher::ExitCodeWatcher(const base::char16* registry_path) :
- registry_path_(registry_path), exit_code_(STILL_ACTIVE) {
-}
+ExitCodeWatcher::ExitCodeWatcher(base::StringPiece16 registry_path)
+ : registry_path_(registry_path.as_string()), exit_code_(STILL_ACTIVE) {}
ExitCodeWatcher::~ExitCodeWatcher() {
}

Powered by Google App Engine
This is Rietveld 408576698