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 TONIC_DART_STATE_H_ | 5 #ifndef TONIC_DART_STATE_H_ |
6 #define 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 "mojo/public/third_party/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 { |
17 class DartClassLibrary; | 17 class DartClassLibrary; |
18 class DartExceptionFactory; | 18 class DartExceptionFactory; |
19 class DartLibraryLoader; | 19 class DartLibraryLoader; |
20 class DartTimerHeap; | 20 class DartTimerHeap; |
21 | 21 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 protected: | 64 protected: |
65 base::WeakPtrFactory<DartState> weak_factory_; | 65 base::WeakPtrFactory<DartState> weak_factory_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(DartState); | 67 DISALLOW_COPY_AND_ASSIGN(DartState); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace tonic | 70 } // namespace tonic |
71 | 71 |
72 #endif // TONIC_DART_STATE_H_ | 72 #endif // TONIC_DART_STATE_H_ |
OLD | NEW |