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

Side by Side Diff: services/nacl/content_handler_main.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
« no previous file with comments | « services/kiosk_wm/main.cc ('k') | services/native_viewport/main.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 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "mojo/application/application_runner_chromium.h" 9 #include "mojo/application/application_runner_chromium.h"
10 #include "mojo/application/content_handler_factory.h" 10 #include "mojo/application/content_handler_factory.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 base::FilePath irt_path_; 167 base::FilePath irt_path_;
168 168
169 mojo::URLLoaderPtr url_loader_; 169 mojo::URLLoaderPtr url_loader_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(NaClContentHandler); 171 DISALLOW_COPY_AND_ASSIGN(NaClContentHandler);
172 }; 172 };
173 173
174 } // namespace content_handler 174 } // namespace content_handler
175 } // namespace nacl 175 } // namespace nacl
176 176
177 MojoResult MojoMain(MojoHandle shell_handle) { 177 MojoResult MojoMain(MojoHandle application_request) {
178 mojo::ApplicationRunnerChromium runner( 178 mojo::ApplicationRunnerChromium runner(
179 new nacl::content_handler::NaClContentHandler()); 179 new nacl::content_handler::NaClContentHandler());
180 return runner.Run(shell_handle); 180 return runner.Run(application_request);
181 } 181 }
OLDNEW
« no previous file with comments | « services/kiosk_wm/main.cc ('k') | services/native_viewport/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698