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 #ifndef GIN_SHELL_RUNNER_H_ | 5 #ifndef GIN_SHELL_RUNNER_H_ |
6 #define GIN_SHELL_RUNNER_H_ | 6 #define GIN_SHELL_RUNNER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "gin/runner.h" | 10 #include "gin/runner.h" |
10 | 11 |
11 namespace gin { | 12 namespace gin { |
12 | 13 |
13 class ContextHolder; | 14 class ContextHolder; |
14 class ShellRunner; | 15 class ShellRunner; |
15 class TryCatch; | 16 class TryCatch; |
16 | 17 |
17 // Subclass ShellRunnerDelegate to customize the behavior of ShellRunner. | 18 // Subclass ShellRunnerDelegate to customize the behavior of ShellRunner. |
18 // Typical embedders will want to subclass one of the specialized | 19 // Typical embedders will want to subclass one of the specialized |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 ShellRunnerDelegate* delegate_; | 61 ShellRunnerDelegate* delegate_; |
61 | 62 |
62 scoped_ptr<ContextHolder> context_holder_; | 63 scoped_ptr<ContextHolder> context_holder_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(ShellRunner); | 65 DISALLOW_COPY_AND_ASSIGN(ShellRunner); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace gin | 68 } // namespace gin |
68 | 69 |
69 #endif // GIN_SHELL_RUNNER_H_ | 70 #endif // GIN_SHELL_RUNNER_H_ |
OLD | NEW |