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

Unified Diff: mandoline/ui/desktop_ui/browser_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
« no previous file with comments | « mandoline/services/updater/updater_impl.cc ('k') | mandoline/ui/desktop_ui/browser_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/desktop_ui/browser_apptest.cc
diff --git a/mandoline/ui/desktop_ui/browser_apptest.cc b/mandoline/ui/desktop_ui/browser_apptest.cc
index 6cc67299211ef8bce3845012412bbff7eccab7c9..1075f63148a3b0b4d8891e8d4cbb441a52d15bac 100644
--- a/mandoline/ui/desktop_ui/browser_apptest.cc
+++ b/mandoline/ui/desktop_ui/browser_apptest.cc
@@ -4,7 +4,6 @@
#include "base/macros.h"
#include "mandoline/ui/desktop_ui/public/interfaces/launch_handler.mojom.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "mojo/shell/public/cpp/application_test_base.h"
namespace mandoline {
@@ -17,7 +16,7 @@ class BrowserTest : public mojo::test::ApplicationTestBase {
// mojo::test::ApplicationTestBase:
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- application_impl()->ConnectToService("mojo:desktop_ui", &launch_handler_);
+ shell()->ConnectToService("mojo:desktop_ui", &launch_handler_);
ASSERT_TRUE(launch_handler_.is_bound());
}
« no previous file with comments | « mandoline/services/updater/updater_impl.cc ('k') | mandoline/ui/desktop_ui/browser_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698