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

Unified Diff: components/browser_watcher/exit_code_watcher_win.h

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: Created 4 years, 11 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.h
diff --git a/components/browser_watcher/exit_code_watcher_win.h b/components/browser_watcher/exit_code_watcher_win.h
index 644b2a55bb885fb442d0e400131a55c96e2bf371..6d8b44caec28183db49f2f79c7453dc43e15a553 100644
--- a/components/browser_watcher/exit_code_watcher_win.h
+++ b/components/browser_watcher/exit_code_watcher_win.h
@@ -17,7 +17,7 @@ namespace browser_watcher {
class ExitCodeWatcher {
public:
// Initialize the watcher with a registry path.
- explicit ExitCodeWatcher(const base::char16* registry_path);
+ explicit ExitCodeWatcher(const base::string16& registry_path);
~ExitCodeWatcher();
// Initializes from arguments on |cmd_line|, returns true on success.
@@ -40,7 +40,7 @@ class ExitCodeWatcher {
bool WriteProcessExitCode(int exit_code);
// The registry path the exit codes are written to.
- base::string16 registry_path_;
+ const base::string16 registry_path_;
// Watched process and its creation time.
base::Process process_;

Powered by Google App Engine
This is Rietveld 408576698