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

Unified Diff: components/clipboard/clipboard_apptest.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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: components/clipboard/clipboard_apptest.cc
diff --git a/components/clipboard/clipboard_apptest.cc b/components/clipboard/clipboard_apptest.cc
index c06b28d7e30137273a81adf1092321144210f26e..db451624d96b292e7247253b8b1bd2e55fad0988 100644
--- a/components/clipboard/clipboard_apptest.cc
+++ b/components/clipboard/clipboard_apptest.cc
@@ -10,8 +10,8 @@
#include "base/run_loop.h"
#include "components/clipboard/public/interfaces/clipboard.mojom.h"
#include "mojo/common/common_type_converters.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "mojo/shell/public/cpp/application_test_base.h"
+#include "mojo/shell/public/cpp/shell.h"
using mojo::Array;
using mojo::Clipboard;
@@ -58,7 +58,7 @@ class ClipboardAppTest : public mojo::test::ApplicationTestBase {
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- application_impl()->ConnectToService("mojo:clipboard", &clipboard_);
+ shell()->ConnectToService("mojo:clipboard", &clipboard_);
}
uint64_t GetSequenceNumber() {
« no previous file with comments | « components/clipboard/clipboard_application_delegate.cc ('k') | components/devtools_service/devtools_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698