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

Unified Diff: ios/web/webui/mojo_facade_unittest.mm

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 | « ios/web/webui/mojo_facade.mm ('k') | ios/web/webui/web_ui_mojo_inttest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/mojo_facade_unittest.mm
diff --git a/ios/web/webui/mojo_facade_unittest.mm b/ios/web/webui/mojo_facade_unittest.mm
index d57ba21cea6c5f7fcb1e0bff9a19e3b89f833b45..bf839ab87c016c094ca842b959f51658d3508fb4 100644
--- a/ios/web/webui/mojo_facade_unittest.mm
+++ b/ios/web/webui/mojo_facade_unittest.mm
@@ -44,13 +44,14 @@ id GetObject(const std::string& json) {
}
// Test mojo handler factory.
-class TestUIHandlerFactory : public shell::InterfaceFactory<TestUIHandlerMojo> {
+class TestUIHandlerFactory
+ : public service_manager::InterfaceFactory<TestUIHandlerMojo> {
public:
~TestUIHandlerFactory() override {}
private:
- // shell::InterfaceFactory overrides.
- void Create(const shell::Identity& remote_identity,
+ // service_manager::InterfaceFactory overrides.
+ void Create(const service_manager::Identity& remote_identity,
mojo::InterfaceRequest<TestUIHandlerMojo> request) override {}
};
@@ -60,7 +61,7 @@ class TestUIHandlerFactory : public shell::InterfaceFactory<TestUIHandlerMojo> {
class MojoFacadeTest : public WebTest {
protected:
MojoFacadeTest() {
- interface_registry_.reset(new shell::InterfaceRegistry);
+ interface_registry_.reset(new service_manager::InterfaceRegistry);
interface_registry_->AddInterface(&ui_handler_factory_);
evaluator_.reset([[OCMockObject
mockForProtocol:@protocol(CRWJSInjectionEvaluator)] retain]);
@@ -74,7 +75,7 @@ class MojoFacadeTest : public WebTest {
private:
TestUIHandlerFactory ui_handler_factory_;
- std::unique_ptr<shell::InterfaceRegistry> interface_registry_;
+ std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_;
base::scoped_nsobject<OCMockObject> evaluator_;
std::unique_ptr<MojoFacade> facade_;
};
« no previous file with comments | « ios/web/webui/mojo_facade.mm ('k') | ios/web/webui/web_ui_mojo_inttest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698