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

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 2617883004: Initial UKMPageLoadMetricsObserver (Closed)
Patch Set: Class rename Created 3 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: chrome/test/base/testing_browser_process.cc
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index 758ce502b8520831ea39856201171350e7494582..83f1cd43e1ddd45d10386e37a413cb6e3d699531 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -117,6 +117,10 @@ rappor::RapporServiceImpl* TestingBrowserProcess::rappor_service() {
return rappor_service_;
}
+ukm::UkmService* TestingBrowserProcess::ukm_service() {
+ return ukm_service_;
+}
+
IOThread* TestingBrowserProcess::io_thread() {
return io_thread_;
}
@@ -465,6 +469,10 @@ void TestingBrowserProcess::SetRapporServiceImpl(
rappor_service_ = rappor_service;
}
+void TestingBrowserProcess::SetUkmService(ukm::UkmService* ukm_service) {
+ ukm_service_ = ukm_service;
+}
+
void TestingBrowserProcess::SetShuttingDown(bool is_shutting_down) {
is_shutting_down_ = is_shutting_down;
}

Powered by Google App Engine
This is Rietveld 408576698