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

Unified Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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/ui/ws/user_id_tracker.cc ('k') | services/video_capture/mock_device_video_capture_service_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index 9248c01df46812a3dc50ac69943fafcd2c849ba0..013d54be15d5037803e421ea0c51cbdf504ef64f 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -19,9 +19,9 @@
#include "services/ui/ws/test_change_tracker.h"
using mojo::Array;
-using shell::Connection;
+using service_manager::Connection;
using mojo::InterfaceRequest;
-using shell::Service;
+using service_manager::Service;
using mojo::String;
using ui::mojom::WindowDataPtr;
using ui::mojom::WindowTree;
@@ -58,7 +58,7 @@ void EmbedCallbackImpl(base::RunLoop* run_loop,
// -----------------------------------------------------------------------------
-bool EmbedUrl(shell::Connector* connector,
+bool EmbedUrl(service_manager::Connector* connector,
WindowTree* tree,
const String& url,
Id root_id) {
@@ -506,7 +506,7 @@ class TestWindowTreeClient : public mojom::WindowTreeClient,
// InterfaceFactory for vending TestWindowTreeClients.
class WindowTreeClientFactory
- : public shell::InterfaceFactory<WindowTreeClient> {
+ : public service_manager::InterfaceFactory<WindowTreeClient> {
public:
WindowTreeClientFactory() {}
~WindowTreeClientFactory() override {}
@@ -524,7 +524,7 @@ class WindowTreeClientFactory
private:
// InterfaceFactory<WindowTreeClient>:
- void Create(const shell::Identity& remote_identity,
+ void Create(const service_manager::Identity& remote_identity,
InterfaceRequest<WindowTreeClient> request) override {
client_impl_ = base::MakeUnique<TestWindowTreeClient>();
client_impl_->Bind(std::move(request));
@@ -633,8 +633,8 @@ class WindowTreeClientTest : public WindowServerServiceTestBase {
}
// WindowServerServiceTestBase:
- bool OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry) override {
+ bool OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry) override {
registry->AddInterface(client_factory_.get());
return true;
}
« no previous file with comments | « services/ui/ws/user_id_tracker.cc ('k') | services/video_capture/mock_device_video_capture_service_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698