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

Unified Diff: components/mus/public/cpp/lib/view_tree_host_factory.cc

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/mus/public/cpp/lib/view_tree_delegate.cc ('k') | components/mus/public/cpp/scoped_view_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/view_tree_host_factory.cc
diff --git a/components/mus/public/cpp/lib/view_tree_host_factory.cc b/components/mus/public/cpp/lib/view_tree_host_factory.cc
index 1da65c941b2bf0f3484734db8a16f21f054fa96e..7259d4a40b64fae72c7153cf05be5d391e4a4919 100644
--- a/components/mus/public/cpp/lib/view_tree_host_factory.cc
+++ b/components/mus/public/cpp/lib/view_tree_host_factory.cc
@@ -8,21 +8,21 @@
#include "components/mus/public/cpp/view_tree_delegate.h"
#include "mojo/application/public/cpp/application_impl.h"
-namespace mus {
+namespace mojo {
-void CreateViewTreeHost(mojo::ViewTreeHostFactory* factory,
- mojo::ViewTreeHostClientPtr host_client,
+void CreateViewTreeHost(ViewTreeHostFactory* factory,
+ ViewTreeHostClientPtr host_client,
ViewTreeDelegate* delegate,
- mojo::ViewTreeHostPtr* host) {
- mojo::ViewTreeClientPtr tree_client;
+ ViewTreeHostPtr* host) {
+ ViewTreeClientPtr tree_client;
ViewTreeConnection::Create(delegate, GetProxy(&tree_client));
factory->CreateViewTreeHost(GetProxy(host), host_client.Pass(),
tree_client.Pass());
}
-void CreateSingleViewTreeHost(mojo::ApplicationImpl* app,
+void CreateSingleViewTreeHost(ApplicationImpl* app,
ViewTreeDelegate* delegate,
- mojo::ViewTreeHostPtr* host) {
+ ViewTreeHostPtr* host) {
mojo::ViewTreeHostFactoryPtr factory;
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = "mojo:mus";
@@ -31,4 +31,4 @@
host);
}
-} // namespace mus
+} // namespace mojo
« no previous file with comments | « components/mus/public/cpp/lib/view_tree_delegate.cc ('k') | components/mus/public/cpp/scoped_view_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698