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

Unified Diff: chrome/browser/metrics/thread_watcher.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/metrics/thread_watcher.cc
diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc
index 1bdd544b6500005948c969fb0ca9ad554ea7b530..70846729e9ffd4c5573e51cd0dd1d848869e8655 100644
--- a/chrome/browser/metrics/thread_watcher.cc
+++ b/chrome/browser/metrics/thread_watcher.cc
@@ -345,7 +345,8 @@ ThreadWatcherList::CrashDataThresholds::CrashDataThresholds()
}
// static
-void ThreadWatcherList::StartWatchingAll(const CommandLine& command_line) {
+void ThreadWatcherList::StartWatchingAll(
+ const base::CommandLine& command_line) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
uint32 unresponsive_threshold;
CrashOnHangThreadMap crash_on_hang_threads;
@@ -441,7 +442,7 @@ ThreadWatcherList::~ThreadWatcherList() {
// static
void ThreadWatcherList::ParseCommandLine(
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
uint32* unresponsive_threshold,
CrashOnHangThreadMap* crash_on_hang_threads) {
// Initialize |unresponsive_threshold| to a default value.
« no previous file with comments | « chrome/browser/metrics/metrics_services_manager.cc ('k') | chrome/browser/metrics/thread_watcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698