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

Unified Diff: services/prediction/prediction_apptests.cc

Issue 1990603002: Make ApplicationTestBase not use ApplicationImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: delete ApplicationImpl::WaitForInitialize() Created 4 years, 7 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: services/prediction/prediction_apptests.cc
diff --git a/services/prediction/prediction_apptests.cc b/services/prediction/prediction_apptests.cc
index 8d1b7bcb6d11a2efd787fb5ea83d540271e39049..e739d261298c89ed6072b9d8f3679605cdbe3527 100644
--- a/services/prediction/prediction_apptests.cc
+++ b/services/prediction/prediction_apptests.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
-#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/application_test_base.h"
#include "mojo/public/cpp/application/connect.h"
#include "mojo/services/prediction/interfaces/prediction.mojom.h"
@@ -27,8 +26,8 @@ class PredictionApptest : public mojo::test::ApplicationTestBase {
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- mojo::ConnectToService(application_impl()->shell(),
- "mojo:prediction_service", GetProxy(&prediction_));
+ mojo::ConnectToService(shell(), "mojo:prediction_service",
+ GetProxy(&prediction_));
}
std::vector<std::string> GetPredictionListClient(

Powered by Google App Engine
This is Rietveld 408576698