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

Side by Side Diff: mojo/examples/aura_demo/view_manager_init.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/examples/aura_demo/aura_demo.cc ('k') | mojo/examples/browser/browser.cc » ('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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "mojo/public/cpp/application/application_delegate.h" 7 #include "mojo/public/cpp/application/application_delegate.h"
8 #include "mojo/public/cpp/application/application_impl.h" 8 #include "mojo/public/cpp/application/application_impl.h"
9 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h" 9 #include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
10 10
(...skipping 13 matching lines...) Expand all
24 base::Bind(&ViewManagerInit::DidConnect, 24 base::Bind(&ViewManagerInit::DidConnect,
25 base::Unretained(this))); 25 base::Unretained(this)));
26 } 26 }
27 27
28 private: 28 private:
29 void DidConnect(bool result) { 29 void DidConnect(bool result) {
30 DCHECK(result); 30 DCHECK(result);
31 VLOG(1) << "ViewManagerInit::DidConnection result=" << result; 31 VLOG(1) << "ViewManagerInit::DidConnection result=" << result;
32 } 32 }
33 33
34 view_manager::ViewManagerInitServicePtr view_manager_init_; 34 ViewManagerInitServicePtr view_manager_init_;
35 35
36 DISALLOW_COPY_AND_ASSIGN(ViewManagerInit); 36 DISALLOW_COPY_AND_ASSIGN(ViewManagerInit);
37 }; 37 };
38 38
39 } // namespace examples 39 } // namespace examples
40 40
41 // static 41 // static
42 ApplicationDelegate* ApplicationDelegate::Create() { 42 ApplicationDelegate* ApplicationDelegate::Create() {
43 return new examples::ViewManagerInit(); 43 return new examples::ViewManagerInit();
44 } 44 }
45 45
46 } // namespace mojo 46 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/examples/aura_demo/aura_demo.cc ('k') | mojo/examples/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698