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

Side by Side Diff: examples/media_test/media_test_app.cc

Issue 1977023003: ApplicationConnection devolution, part 4 (the end). (Closed) Base URL: https://github.com/domokit/mojo.git@work790_app_conn_devo_3.1
Patch Set: Created 4 years, 7 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 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 #include <deque> 5 #include <deque>
6 #include <iomanip> 6 #include <iomanip>
7 #include <iostream> 7 #include <iostream>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "examples/media_test/keystroke.h" 10 #include "examples/media_test/keystroke.h"
11 #include "examples/media_test/media_test.h" 11 #include "examples/media_test/media_test.h"
12 #include "mojo/application/application_runner_chromium.h" 12 #include "mojo/application/application_runner_chromium.h"
13 #include "mojo/public/c/system/main.h" 13 #include "mojo/public/c/system/main.h"
14 #include "mojo/public/cpp/application/application_connection.h"
15 #include "mojo/public/cpp/application/application_delegate.h" 14 #include "mojo/public/cpp/application/application_delegate.h"
16 #include "mojo/public/cpp/application/application_impl.h" 15 #include "mojo/public/cpp/application/application_impl.h"
17 16
18 namespace mojo { 17 namespace mojo {
19 namespace media { 18 namespace media {
20 namespace examples { 19 namespace examples {
21 20
22 class MediaTestApp : public mojo::ApplicationDelegate { 21 class MediaTestApp : public mojo::ApplicationDelegate {
23 public: 22 public:
24 MediaTestApp() {} 23 MediaTestApp() {}
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 316
318 } // namespace examples 317 } // namespace examples
319 } // namespace media 318 } // namespace media
320 } // namespace mojo 319 } // namespace mojo
321 320
322 MojoResult MojoMain(MojoHandle application_request) { 321 MojoResult MojoMain(MojoHandle application_request) {
323 mojo::ApplicationRunnerChromium runner( 322 mojo::ApplicationRunnerChromium runner(
324 new mojo::media::examples::MediaTestApp); 323 new mojo::media::examples::MediaTestApp);
325 return runner.Run(application_request); 324 return runner.Run(application_request);
326 } 325 }
OLDNEW
« no previous file with comments | « examples/indirect_service/integer_service.cc ('k') | examples/moterm_example_app/moterm_example_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698