OLD | NEW |
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/bind.h" | 5 #include "base/bind.h" |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "examples/bitmap_uploader/bitmap_uploader.h" | 10 #include "examples/bitmap_uploader/bitmap_uploader.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 WindowMap windows_; | 104 WindowMap windows_; |
105 | 105 |
106 int next_color_; | 106 int next_color_; |
107 | 107 |
108 DISALLOW_COPY_AND_ASSIGN(EmbeddedApp); | 108 DISALLOW_COPY_AND_ASSIGN(EmbeddedApp); |
109 }; | 109 }; |
110 | 110 |
111 } // namespace examples | 111 } // namespace examples |
112 } // namespace mojo | 112 } // namespace mojo |
113 | 113 |
114 MojoResult MojoMain(MojoHandle shell_handle) { | 114 MojoResult MojoMain(MojoHandle application_request) { |
115 mojo::ApplicationRunnerChromium runner(new mojo::examples::EmbeddedApp); | 115 mojo::ApplicationRunnerChromium runner(new mojo::examples::EmbeddedApp); |
116 return runner.Run(shell_handle); | 116 return runner.Run(application_request); |
117 } | 117 } |
OLD | NEW |