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

Side by Side Diff: mash/example/main/main_application_delegate.h

Issue 1469733004: Moves components/mus/examples into mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add Created 5 years 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
« no previous file with comments | « mash/example/main/main.cc ('k') | mash/example/main/main_application_delegate.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef COMPONENTS_MUS_EXAMPLE_MAIN_MAIN_APPLICATION_DELEGATE_H_ 5 #ifndef MASH_EXAMPLE_MAIN_MAIN_APPLICATION_DELEGATE_H_
6 #define COMPONENTS_MUS_EXAMPLE_MAIN_MAIN_APPLICATION_DELEGATE_H_ 6 #define MASH_EXAMPLE_MAIN_MAIN_APPLICATION_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "mojo/application/public/cpp/application_delegate.h" 10 #include "mojo/application/public/cpp/application_delegate.h"
11 #include "mojo/application/public/cpp/interface_factory_impl.h" 11 #include "mojo/application/public/cpp/interface_factory_impl.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 class ApplicationConnection; 14 class ApplicationConnection;
15 } 15 }
16 16
17 class MainApplicationDelegate : public mojo::ApplicationDelegate { 17 class MainApplicationDelegate : public mojo::ApplicationDelegate {
18 public: 18 public:
19 MainApplicationDelegate(); 19 MainApplicationDelegate();
20 ~MainApplicationDelegate() override; 20 ~MainApplicationDelegate() override;
21 21
22 private: 22 private:
23 // ApplicationDelegate: 23 // ApplicationDelegate:
24 void Initialize(mojo::ApplicationImpl* app) override; 24 void Initialize(mojo::ApplicationImpl* app) override;
25 bool ConfigureIncomingConnection( 25 bool ConfigureIncomingConnection(
26 mojo::ApplicationConnection* connection) override; 26 mojo::ApplicationConnection* connection) override;
27 27
28 ScopedVector<mojo::ApplicationConnection> connections_; 28 ScopedVector<mojo::ApplicationConnection> connections_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(MainApplicationDelegate); 30 DISALLOW_COPY_AND_ASSIGN(MainApplicationDelegate);
31 }; 31 };
32 32
33 #endif // COMPONENTS_MUS_EXAMPLE_MAIN_MAIN_APPLICATION_DELEGATE_H_ 33 #endif // MASH_EXAMPLE_MAIN_MAIN_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « mash/example/main/main.cc ('k') | mash/example/main/main_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698