| 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 SKY_ENGINE_BINDINGS2_EXCEPTION_STATE_H_ | 5 #ifndef SKY_ENGINE_BINDINGS_EXCEPTION_STATE_H_ |
| 6 #define SKY_ENGINE_BINDINGS2_EXCEPTION_STATE_H_ | 6 #define SKY_ENGINE_BINDINGS_EXCEPTION_STATE_H_ |
| 7 | 7 |
| 8 #include "sky/engine/tonic/dart_persistent_value.h" | 8 #include "sky/engine/tonic/dart_persistent_value.h" |
| 9 #include "sky/engine/wtf/Noncopyable.h" | 9 #include "sky/engine/wtf/Noncopyable.h" |
| 10 #include "sky/engine/wtf/text/WTFString.h" | 10 #include "sky/engine/wtf/text/WTFString.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 typedef int ExceptionCode; | 14 typedef int ExceptionCode; |
| 15 | 15 |
| 16 class ExceptionState { | 16 class ExceptionState { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 bool had_exception_; | 58 bool had_exception_; |
| 59 DartPersistentValue exception_; | 59 DartPersistentValue exception_; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 class NonThrowableExceptionState final : public ExceptionState {}; | 62 class NonThrowableExceptionState final : public ExceptionState {}; |
| 63 | 63 |
| 64 class TrackExceptionState final : public ExceptionState {}; | 64 class TrackExceptionState final : public ExceptionState {}; |
| 65 | 65 |
| 66 } // namespace blink | 66 } // namespace blink |
| 67 | 67 |
| 68 #endif // SKY_ENGINE_BINDINGS2_EXCEPTION_STATE_H_ | 68 #endif // SKY_ENGINE_BINDINGS_EXCEPTION_STATE_H_ |
| OLD | NEW |