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

Side by Side Diff: examples/embedded_app/embedded_app.cc

Issue 1058163002: Replaces |shell_handle| with |application_request| as the name of the parameter to MojoMain(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 #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
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 }
OLDNEW
« no previous file with comments | « examples/echo_terminal/main.cc ('k') | examples/forwarding_content_handler/forwarding_content_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698