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