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

Unified Diff: services/clipboard/clipboard_apptest.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
« no previous file with comments | « services/authentication/accounts_db_manager_unittest.cc ('k') | services/contacts/contacts_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/clipboard/clipboard_apptest.cc
diff --git a/services/clipboard/clipboard_apptest.cc b/services/clipboard/clipboard_apptest.cc
index 999f77915b7024271b54a5e1ebf4e288696b203c..fbaf59f66c5d2d8db0edb54a51256b915b6af4bc 100644
--- a/services/clipboard/clipboard_apptest.cc
+++ b/services/clipboard/clipboard_apptest.cc
@@ -5,7 +5,6 @@
#include "base/bind.h"
#include "base/run_loop.h"
#include "mojo/converters/array_string/array_string_type_converters.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/clipboard/interfaces/clipboard.mojom.h"
@@ -55,8 +54,7 @@ class ClipboardAppTest : public mojo::test::ApplicationTestBase {
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- mojo::ConnectToService(application_impl()->shell(), "mojo:clipboard",
- GetProxy(&clipboard_));
+ mojo::ConnectToService(shell(), "mojo:clipboard", GetProxy(&clipboard_));
}
uint64_t GetSequenceNumber() {
« no previous file with comments | « services/authentication/accounts_db_manager_unittest.cc ('k') | services/contacts/contacts_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698