Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3726)

Unified Diff: sky/engine/tonic/dart_state.h

Issue 1160763004: Add support for testing content in SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/tonic/dart_state.h
diff --git a/sky/engine/tonic/dart_state.h b/sky/engine/tonic/dart_state.h
index 4562ce40e4f34781fe60a701672a586f48a9ab8c..87431cbbd5b05d20dab6f5d58d32c875ae2375dd 100644
--- a/sky/engine/tonic/dart_state.h
+++ b/sky/engine/tonic/dart_state.h
@@ -16,9 +16,10 @@
#include "sky/engine/wtf/RefCounted.h"
namespace blink {
-class DartStringCache;
class DartClassLibrary;
class DartExceptionFactory;
+class DartStringCache;
+class DartTimerHeap;
// DartState represents the state associated with a given Dart isolate. The
// lifetime of this object is controlled by the DartVM. If you want to hold a
@@ -54,12 +55,14 @@ class DartState : public base::SupportsUserData {
DartClassLibrary& class_library() { return *class_library_; }
DartStringCache& string_cache() { return *string_cache_; }
DartExceptionFactory& exception_factory() { return *exception_factory_; }
+ DartTimerHeap& timer_heap() { return *timer_heap_; }
private:
Dart_Isolate isolate_;
OwnPtr<DartClassLibrary> class_library_;
OwnPtr<DartStringCache> string_cache_;
OwnPtr<DartExceptionFactory> exception_factory_;
+ OwnPtr<DartTimerHeap> timer_heap_;
base::WeakPtrFactory<DartState> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698