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

Unified Diff: mojo/shell/application_package_apptest.cc

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
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 | « mojo/shell/application_manager_unittest.cc ('k') | mojo/shell/capability_filter_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_package_apptest.cc
diff --git a/mojo/shell/application_package_apptest.cc b/mojo/shell/application_package_apptest.cc
index 657853c02dda36b02c9905f9c0a5c1d327c58850..893c7ecae695e00047cb0dc269ff9ca5422841c9 100644
--- a/mojo/shell/application_package_apptest.cc
+++ b/mojo/shell/application_package_apptest.cc
@@ -37,7 +37,7 @@ class ProvidedApplicationDelegate
public base::SimpleThread {
public:
ProvidedApplicationDelegate(const std::string& name,
- InterfaceRequest<Application> request,
+ InterfaceRequest<mojom::Application> request,
const Callback<void()>& destruct_callback)
: base::SimpleThread(name),
name_(name),
@@ -79,7 +79,7 @@ class ProvidedApplicationDelegate
}
const std::string name_;
- InterfaceRequest<Application> request_;
+ InterfaceRequest<mojom::Application> request_;
const Callback<void()> destruct_callback_;
WeakBindingSet<test::mojom::ApplicationPackageApptestService> bindings_;
@@ -88,9 +88,9 @@ class ProvidedApplicationDelegate
class ApplicationPackageApptestDelegate
: public ApplicationDelegate,
- public InterfaceFactory<ContentHandler>,
+ public InterfaceFactory<mojom::ContentHandler>,
public InterfaceFactory<test::mojom::ApplicationPackageApptestService>,
- public ContentHandler,
+ public mojom::ContentHandler,
public test::mojom::ApplicationPackageApptestService {
public:
ApplicationPackageApptestDelegate() {}
@@ -105,9 +105,9 @@ class ApplicationPackageApptestDelegate
return true;
}
- // InterfaceFactory<ContentHandler>:
+ // InterfaceFactory<mojom::ContentHandler>:
void Create(ApplicationConnection* connection,
- InterfaceRequest<ContentHandler> request) override {
+ InterfaceRequest<mojom::ContentHandler> request) override {
content_handler_bindings_.AddBinding(this, std::move(request));
}
@@ -118,8 +118,8 @@ class ApplicationPackageApptestDelegate
bindings_.AddBinding(this, std::move(request));
}
- // ContentHandler:
- void StartApplication(InterfaceRequest<Application> request,
+ // mojom::ContentHandler:
+ void StartApplication(InterfaceRequest<mojom::Application> request,
URLResponsePtr response,
const Callback<void()>& destruct_callback) override {
const std::string url = response->url;
@@ -138,7 +138,7 @@ class ApplicationPackageApptestDelegate
}
std::vector<scoped_ptr<ApplicationDelegate>> delegates_;
- WeakBindingSet<ContentHandler> content_handler_bindings_;
+ WeakBindingSet<mojom::ContentHandler> content_handler_bindings_;
WeakBindingSet<test::mojom::ApplicationPackageApptestService> bindings_;
DISALLOW_COPY_AND_ASSIGN(ApplicationPackageApptestDelegate);
« no previous file with comments | « mojo/shell/application_manager_unittest.cc ('k') | mojo/shell/capability_filter_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698