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

Side by Side Diff: mojo/application/application_runner_chromium.cc

Issue 565323002: Move application:chromium bindings to mojo/application/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « mojo/application/application_runner_chromium.h ('k') | mojo/application_manager/BUILD.gn » ('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 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 "mojo/public/cpp/application/application_runner_chromium.h" 5 #include "mojo/application/application_runner_chromium.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "mojo/common/message_pump_mojo.h" 11 #include "mojo/common/message_pump_mojo.h"
12 #include "mojo/public/cpp/application/application_delegate.h" 12 #include "mojo/public/cpp/application/application_delegate.h"
13 #include "mojo/public/cpp/application/application_impl.h" 13 #include "mojo/public/cpp/application/application_impl.h"
14 14
15 namespace mojo { 15 namespace mojo {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 ApplicationImpl impl(delegate_.get(), 55 ApplicationImpl impl(delegate_.get(),
56 MakeScopedHandle(MessagePipeHandle(shell_handle))); 56 MakeScopedHandle(MessagePipeHandle(shell_handle)));
57 loop->Run(); 57 loop->Run();
58 } 58 }
59 delegate_.reset(); 59 delegate_.reset();
60 return MOJO_RESULT_OK; 60 return MOJO_RESULT_OK;
61 } 61 }
62 62
63 } // namespace mojo 63 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/application/application_runner_chromium.h ('k') | mojo/application_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698