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

Side by Side Diff: shell/out_of_process_native_runner.h

Issue 1053743002: Rename AppChildController -> ChildController. (Closed) Base URL: https://github.com/domokit/mojo.git@simplify_child_5
Patch Set: rebased 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 | « shell/child_process_host.cc ('k') | shell/out_of_process_native_runner.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 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 #ifndef SHELL_OUT_OF_PROCESS_NATIVE_RUNNER_H_ 5 #ifndef SHELL_OUT_OF_PROCESS_NATIVE_RUNNER_H_
6 #define SHELL_OUT_OF_PROCESS_NATIVE_RUNNER_H_ 6 #define SHELL_OUT_OF_PROCESS_NATIVE_RUNNER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 14 matching lines...) Expand all
25 explicit OutOfProcessNativeRunner(Context* context); 25 explicit OutOfProcessNativeRunner(Context* context);
26 ~OutOfProcessNativeRunner() override; 26 ~OutOfProcessNativeRunner() override;
27 27
28 // |NativeRunner| method: 28 // |NativeRunner| method:
29 void Start(const base::FilePath& app_path, 29 void Start(const base::FilePath& app_path,
30 NativeApplicationCleanup cleanup, 30 NativeApplicationCleanup cleanup,
31 InterfaceRequest<Application> application_request, 31 InterfaceRequest<Application> application_request,
32 const base::Closure& app_completed_callback) override; 32 const base::Closure& app_completed_callback) override;
33 33
34 private: 34 private:
35 // |AppChildController::StartApp()| callback: 35 // |ChildProcessHost::StartApp()| callback:
36 void AppCompleted(int32_t result); 36 void AppCompleted(int32_t result);
37 37
38 Context* const context_; 38 Context* const context_;
39 39
40 base::FilePath app_path_; 40 base::FilePath app_path_;
41 base::Closure app_completed_callback_; 41 base::Closure app_completed_callback_;
42 42
43 scoped_ptr<ChildProcessHost> child_process_host_; 43 scoped_ptr<ChildProcessHost> child_process_host_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunner); 45 DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunner);
(...skipping 10 matching lines...) Expand all
56 private: 56 private:
57 Context* const context_; 57 Context* const context_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunnerFactory); 59 DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunnerFactory);
60 }; 60 };
61 61
62 } // namespace shell 62 } // namespace shell
63 } // namespace mojo 63 } // namespace mojo
64 64
65 #endif // SHELL_OUT_OF_PROCESS_NATIVE_RUNNER_H_ 65 #endif // SHELL_OUT_OF_PROCESS_NATIVE_RUNNER_H_
OLDNEW
« no previous file with comments | « shell/child_process_host.cc ('k') | shell/out_of_process_native_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698