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 "mojo/shell/out_of_process_dynamic_service_runner.h" | 5 #include "mojo/shell/out_of_process_dynamic_service_runner.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 8 #include "base/callback_helpers.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/scoped_native_library.h" | 11 #include "base/scoped_native_library.h" |
12 #include "mojo/public/bindings/allocation_scope.h" | 12 #include "mojo/public/cpp/bindings/allocation_scope.h" |
13 | 13 |
14 namespace mojo { | 14 namespace mojo { |
15 namespace shell { | 15 namespace shell { |
16 | 16 |
17 OutOfProcessDynamicServiceRunner::OutOfProcessDynamicServiceRunner( | 17 OutOfProcessDynamicServiceRunner::OutOfProcessDynamicServiceRunner( |
18 Context* context) | 18 Context* context) |
19 : context_(context) { | 19 : context_(context) { |
20 } | 20 } |
21 | 21 |
22 OutOfProcessDynamicServiceRunner::~OutOfProcessDynamicServiceRunner() { | 22 OutOfProcessDynamicServiceRunner::~OutOfProcessDynamicServiceRunner() { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 DVLOG(2) << "OutOfProcessDynamicServiceRunner::AppCompleted(" << result | 57 DVLOG(2) << "OutOfProcessDynamicServiceRunner::AppCompleted(" << result |
58 << ")"; | 58 << ")"; |
59 | 59 |
60 app_completed_callback_.Run(); | 60 app_completed_callback_.Run(); |
61 app_completed_callback_.Reset(); | 61 app_completed_callback_.Reset(); |
62 app_child_process_host_.reset(); | 62 app_child_process_host_.reset(); |
63 } | 63 } |
64 | 64 |
65 } // namespace shell | 65 } // namespace shell |
66 } // namespace mojo | 66 } // namespace mojo |
OLD | NEW |