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

Unified Diff: components/browser_watcher/watcher_metrics_provider_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: de-dup is_win blocks in GN too 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/watcher_metrics_provider_win.h
diff --git a/components/browser_watcher/watcher_metrics_provider_win.h b/components/browser_watcher/watcher_metrics_provider_win.h
index d2f800e0caeaf8e2728e03241d7ecd2a43f1dd12..48ec7faebbafdffff005e7b8e1750e2256e65f3c 100644
--- a/components/browser_watcher/watcher_metrics_provider_win.h
+++ b/components/browser_watcher/watcher_metrics_provider_win.h
@@ -20,7 +20,7 @@ class WatcherMetricsProviderWin : public metrics::MetricsProvider {
// Initializes the reporter. |cleanup_io_task_runner| is used to clear
// leftover data in registry if metrics reporting is disabled.
- WatcherMetricsProviderWin(const base::char16* registry_path,
+ WatcherMetricsProviderWin(const base::string16& registry_path,
base::TaskRunner* cleanup_io_task_runner);
~WatcherMetricsProviderWin() override;
@@ -33,7 +33,7 @@ class WatcherMetricsProviderWin : public metrics::MetricsProvider {
private:
bool recording_enabled_;
bool cleanup_scheduled_;
- base::string16 registry_path_;
+ const base::string16 registry_path_;
scoped_refptr<base::TaskRunner> cleanup_io_task_runner_;
DISALLOW_COPY_AND_ASSIGN(WatcherMetricsProviderWin);
« no previous file with comments | « components/browser_watcher/exit_code_watcher_win.cc ('k') | components/browser_watcher/watcher_metrics_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698