OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/edk/js/mojo_runner_delegate.h" | 5 #include "mojo/edk/js/mojo_runner_delegate.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "gin/converter.h" | 9 #include "gin/converter.h" |
10 #include "gin/modules/console.h" | 10 #include "gin/modules/console.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 } | 69 } |
70 | 70 |
71 void MojoRunnerDelegate::UnhandledException(gin::ShellRunner* runner, | 71 void MojoRunnerDelegate::UnhandledException(gin::ShellRunner* runner, |
72 gin::TryCatch& try_catch) { | 72 gin::TryCatch& try_catch) { |
73 gin::ModuleRunnerDelegate::UnhandledException(runner, try_catch); | 73 gin::ModuleRunnerDelegate::UnhandledException(runner, try_catch); |
74 LOG(ERROR) << try_catch.GetStackTrace(); | 74 LOG(ERROR) << try_catch.GetStackTrace(); |
75 } | 75 } |
76 | 76 |
77 } // namespace js | 77 } // namespace js |
78 } // namespace mojo | 78 } // namespace mojo |
OLD | NEW |