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

Unified Diff: chrome/browser/browser_process_impl_unittest.cc

Issue 1859213002: Move the thread hop for UMA user actions from content:: to base::. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initializing in content. 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: chrome/browser/browser_process_impl_unittest.cc
diff --git a/chrome/browser/browser_process_impl_unittest.cc b/chrome/browser/browser_process_impl_unittest.cc
index 7a79ae6294cb0163abf40cc47bfd9921ab23c188..b6db81f46ebf761317348289a5904ea7241890e0 100644
--- a/chrome/browser/browser_process_impl_unittest.cc
+++ b/chrome/browser/browser_process_impl_unittest.cc
@@ -8,6 +8,7 @@
#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
+#include "base/metrics/user_metrics.h"
#include "base/run_loop.h"
#include "base/thread_task_runner_handle.h"
#include "build/build_config.h"
@@ -30,6 +31,7 @@ class BrowserProcessImplTest : public ::testing::Test {
browser_process_impl_(
new BrowserProcessImpl(base::ThreadTaskRunnerHandle::Get().get(),
command_line_)) {
+ base::SetRecordActionTaskRunner(loop_.task_runner());
browser_process_impl_->SetApplicationLocale("en");
}

Powered by Google App Engine
This is Rietveld 408576698