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

Unified Diff: services/service_manager/public/cpp/lib/service_test.cc

Issue 2812223006: Replace device_sensor browsertest by service unittest. (Closed)
Patch Set: eliminate "unreachable code" warning. Created 3 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
« no previous file with comments | « services/device/unittest_manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/public/cpp/lib/service_test.cc
diff --git a/services/service_manager/public/cpp/lib/service_test.cc b/services/service_manager/public/cpp/lib/service_test.cc
index 30fd49b12a32b7d9b33f04133a96ca3d872bd48e..3879d470bd1704a4daa0e9bdee1b2326062bf390 100644
--- a/services/service_manager/public/cpp/lib/service_test.cc
+++ b/services/service_manager/public/cpp/lib/service_test.cc
@@ -49,7 +49,7 @@ std::unique_ptr<Service> ServiceTest::CreateService() {
}
std::unique_ptr<base::MessageLoop> ServiceTest::CreateMessageLoop() {
- return base::MakeUnique<base::MessageLoop>();
+ return base::MakeUnique<base::MessageLoop>(base::MessageLoop::TYPE_UI);
}
void ServiceTest::OnStartCalled(Connector* connector,
« no previous file with comments | « services/device/unittest_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698