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

Side by Side Diff: mojo/application/public/cpp/application_impl.h

Issue 1311613002: Revert of Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
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 #ifndef MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_ 5 #ifndef MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_
6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_ 6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "mojo/application/public/cpp/app_lifetime_helper.h" 12 #include "mojo/application/public/cpp/app_lifetime_helper.h"
13 #include "mojo/application/public/cpp/application_connection.h" 13 #include "mojo/application/public/cpp/application_connection.h"
14 #include "mojo/application/public/cpp/application_delegate.h" 14 #include "mojo/application/public/cpp/application_delegate.h"
15 #include "mojo/application/public/cpp/lib/service_registry.h" 15 #include "mojo/application/public/cpp/lib/service_registry.h"
16 #include "mojo/application/public/interfaces/application.mojom.h" 16 #include "mojo/application/public/interfaces/application.mojom.h"
17 #include "mojo/application/public/interfaces/shell.mojom.h" 17 #include "mojo/application/public/interfaces/shell.mojom.h"
18 #include "mojo/public/cpp/bindings/binding.h"
19 #include "mojo/public/cpp/bindings/callback.h" 18 #include "mojo/public/cpp/bindings/callback.h"
20 #include "mojo/public/cpp/system/core.h" 19 #include "mojo/public/cpp/system/core.h"
21 20
22 namespace mojo { 21 namespace mojo {
23 22
24 // TODO(beng): This comment is hilariously out of date. 23 // TODO(beng): This comment is hilariously out of date.
25 // Utility class for communicating with the Shell, and providing Services 24 // Utility class for communicating with the Shell, and providing Services
26 // to clients. 25 // to clients.
27 // 26 //
28 // To use define a class that implements your specific server api, e.g. FooImpl 27 // To use define a class that implements your specific server api, e.g. FooImpl
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 AppLifetimeHelper app_lifetime_helper_; 148 AppLifetimeHelper app_lifetime_helper_;
150 bool quit_requested_; 149 bool quit_requested_;
151 base::WeakPtrFactory<ApplicationImpl> weak_factory_; 150 base::WeakPtrFactory<ApplicationImpl> weak_factory_;
152 151
153 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl); 152 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl);
154 }; 153 };
155 154
156 } // namespace mojo 155 } // namespace mojo
157 156
158 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_ 157 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_IMPL_H_
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_renderer_impl.h ('k') | mojo/application/public/cpp/lib/service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698