Chromium Code Reviews| Index: services/js/js_app_runner_delegate.h |
| diff --git a/services/js/js_app_runner_delegate.h b/services/js/js_app_runner_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..890e9d373828a0eea73c15ccb6e72d79732bcf0e |
| --- /dev/null |
| +++ b/services/js/js_app_runner_delegate.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef SERVICES_JS_JS_APP_RUNNER_DELEGATE_H_ |
| +#define SERVICES_JS_JS_APP_RUNNER_DELEGATE_H_ |
| + |
| +#include "gin/modules/module_runner_delegate.h" |
| +#include "gin/shell_runner.h" |
| +#include "gin/try_catch.h" |
| + |
| +namespace mojo { |
| +namespace js { |
| + |
| +class JSAppRunnerDelegate : public gin::ModuleRunnerDelegate { |
| + public: |
| + JSAppRunnerDelegate(); |
| + ~JSAppRunnerDelegate() override; |
| + |
| + // From ModuleRunnerDelegate: |
| + void UnhandledException(gin::ShellRunner* runner, |
| + gin::TryCatch& try_catch) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(JSAppRunnerDelegate); |
| +}; |
| + |
| + |
|
abarth-chromium
2014/11/24 23:47:24
Extra blank line here.
hansmuller
2014/11/25 00:31:55
Done.
|
| +} // namespace js |
| +} // namespace mojo |
| + |
| +#endif // SERVICES_JS_JS_APP_RUNNER_DELEGATE_H_ |