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

Unified Diff: chrome/chrome_watcher/chrome_watcher_main.cc

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
Patch Set: Created 5 years, 6 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/chrome_watcher/chrome_watcher_main.cc
diff --git a/chrome/chrome_watcher/chrome_watcher_main.cc b/chrome/chrome_watcher/chrome_watcher_main.cc
index 8a54796092bc3fa8c568a1284f97c05b217b0ffb..e51de7cc61b4da1b519768c10c7734ca67a3eb9d 100644
--- a/chrome/chrome_watcher/chrome_watcher_main.cc
+++ b/chrome/chrome_watcher/chrome_watcher_main.cc
@@ -100,15 +100,15 @@ class BrowserMonitor {
};
BrowserMonitor::BrowserMonitor(base::RunLoop* run_loop,
- const base::char16* registry_path) :
- browser_exited_(true, false), // manual reset, initially non-signalled.
- exit_code_watcher_(registry_path),
- end_session_watcher_window_(
- base::Bind(&BrowserMonitor::OnEndSessionMessage,
- base::Unretained(this))),
- background_thread_("BrowserWatcherThread"),
- run_loop_(run_loop),
- main_thread_(base::ThreadTaskRunnerHandle::Get()) {
+ const base::char16* registry_path)
+ : exit_code_watcher_(registry_path),
+ end_session_watcher_window_(
+ base::Bind(&BrowserMonitor::OnEndSessionMessage,
+ base::Unretained(this))),
+ background_thread_("BrowserWatcherThread"),
+ browser_exited_(true, false), // manual reset, initially non-signalled.
+ run_loop_(run_loop),
+ main_thread_(base::ThreadTaskRunnerHandle::Get()) {
}
BrowserMonitor::~BrowserMonitor() {
« no previous file with comments | « chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc ('k') | chrome/installer/util/delete_reg_value_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698