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

Unified Diff: services/clipboard/clipboard_apptest.cc

Issue 1915403002: ApplicationImpl::ConnectToServiceDeprecated() -> mojo::ConnectToService() conversion, part 2. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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
« no previous file with comments | « services/authentication/main.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 d534eb40d6668b013ae5da834274d6aa43f70655..999f77915b7024271b54a5e1ebf4e288696b203c 100644
--- a/services/clipboard/clipboard_apptest.cc
+++ b/services/clipboard/clipboard_apptest.cc
@@ -7,6 +7,7 @@
#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"
using mojo::Array;
@@ -54,8 +55,8 @@ class ClipboardAppTest : public mojo::test::ApplicationTestBase {
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- application_impl()->ConnectToServiceDeprecated("mojo:clipboard",
- &clipboard_);
+ mojo::ConnectToService(application_impl()->shell(), "mojo:clipboard",
+ GetProxy(&clipboard_));
}
uint64_t GetSequenceNumber() {
« no previous file with comments | « services/authentication/main.cc ('k') | services/contacts/contacts_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698