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

Side by Side Diff: mojo/services/view_manager/main.cc

Issue 418983002: Nukes view_manager namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/public/cpp/application/application_connection.h" 5 #include "mojo/public/cpp/application/application_connection.h"
6 #include "mojo/public/cpp/application/application_delegate.h" 6 #include "mojo/public/cpp/application/application_delegate.h"
7 #include "mojo/services/view_manager/view_manager_init_service_context.h" 7 #include "mojo/services/view_manager/view_manager_init_service_context.h"
8 #include "mojo/services/view_manager/view_manager_init_service_impl.h" 8 #include "mojo/services/view_manager/view_manager_init_service_impl.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace view_manager {
12 namespace service { 11 namespace service {
13 12
14 class ViewManagerApp : public ApplicationDelegate, 13 class ViewManagerApp : public ApplicationDelegate,
15 public InterfaceFactory<ViewManagerInitService> { 14 public InterfaceFactory<ViewManagerInitService> {
16 public: 15 public:
17 ViewManagerApp() {} 16 ViewManagerApp() {}
18 virtual ~ViewManagerApp() {} 17 virtual ~ViewManagerApp() {}
19 18
20 virtual bool ConfigureIncomingConnection( 19 virtual bool ConfigureIncomingConnection(
21 ApplicationConnection* connection) OVERRIDE { 20 ApplicationConnection* connection) OVERRIDE {
(...skipping 11 matching lines...) Expand all
33 &request); 32 &request);
34 } 33 }
35 34
36 private: 35 private:
37 ViewManagerInitServiceContext context_; 36 ViewManagerInitServiceContext context_;
38 37
39 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp); 38 DISALLOW_COPY_AND_ASSIGN(ViewManagerApp);
40 }; 39 };
41 40
42 } // namespace service 41 } // namespace service
43 } // namespace view_manager
44 42
45 // static 43 // static
46 ApplicationDelegate* ApplicationDelegate::Create() { 44 ApplicationDelegate* ApplicationDelegate::Create() {
47 return new mojo::view_manager::service::ViewManagerApp(); 45 return new mojo::service::ViewManagerApp();
48 } 46 }
49 47
50 } // namespace mojo 48 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698