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

Unified Diff: components/html_viewer/ax_provider_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 | « components/font_service/public/cpp/font_loader.cc ('k') | components/html_viewer/blink_platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/ax_provider_apptest.cc
diff --git a/components/html_viewer/ax_provider_apptest.cc b/components/html_viewer/ax_provider_apptest.cc
index 87b57a6339806e95c792a786ccf500b1701958c4..d53d271ef0309bad87d7b696e5bac2b4b8427e30 100644
--- a/components/html_viewer/ax_provider_apptest.cc
+++ b/components/html_viewer/ax_provider_apptest.cc
@@ -19,7 +19,6 @@
#include "components/web_view/public/interfaces/frame.mojom.h"
#include "mojo/converters/network/network_type_converters.h"
#include "mojo/services/accessibility/public/interfaces/accessibility.mojom.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "mojo/shell/public/cpp/application_test_base.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -84,8 +83,7 @@ TEST_F(AXProviderTest, HelloWorld) {
// Connect to the URL through the mojo:html_viewer content handler.
scoped_ptr<ApplicationConnection> connection =
- application_impl()->ConnectToApplication(
- server.GetURL("/test.html").spec());
+ shell()->ConnectToApplication(server.GetURL("/test.html").spec());
// Embed the html_viewer in a Window.
mus::mojom::WindowTreeClientPtr tree_client;
« no previous file with comments | « components/font_service/public/cpp/font_loader.cc ('k') | components/html_viewer/blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698