| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TONIC_DART_STATE_H_ | 5 #ifndef TONIC_DART_STATE_H_ |
| 6 #define SKY_ENGINE_TONIC_DART_STATE_H_ | 6 #define TONIC_DART_STATE_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/supports_user_data.h" | 10 #include "base/supports_user_data.h" |
| 11 #include "dart/runtime/include/dart_api.h" | 11 #include "dart/runtime/include/dart_api.h" |
| 12 #include "tonic/dart_api_scope.h" | 12 #include "tonic/dart_api_scope.h" |
| 13 #include "tonic/dart_isolate_scope.h" | 13 #include "tonic/dart_isolate_scope.h" |
| 14 #include "tonic/dart_persistent_value.h" | 14 #include "tonic/dart_persistent_value.h" |
| 15 | 15 |
| 16 namespace tonic { | 16 namespace tonic { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 DartPersistentValue index_handle_; | 65 DartPersistentValue index_handle_; |
| 66 | 66 |
| 67 protected: | 67 protected: |
| 68 base::WeakPtrFactory<DartState> weak_factory_; | 68 base::WeakPtrFactory<DartState> weak_factory_; |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(DartState); | 70 DISALLOW_COPY_AND_ASSIGN(DartState); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace tonic | 73 } // namespace tonic |
| 74 | 74 |
| 75 #endif // SKY_ENGINE_TONIC_DART_STATE_H_ | 75 #endif // TONIC_DART_STATE_H_ |
| OLD | NEW |