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

Side by Side Diff: sky/engine/tonic/dart_state.h

Issue 1235063005: Remove #include of RefPtr in dart_state.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/tonic/dart_value.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SKY_ENGINE_TONIC_DART_STATE_H_
6 #define SKY_ENGINE_TONIC_DART_STATE_H_ 6 #define SKY_ENGINE_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 "sky/engine/tonic/dart_api_scope.h" 12 #include "sky/engine/tonic/dart_api_scope.h"
13 #include "sky/engine/tonic/dart_isolate_scope.h" 13 #include "sky/engine/tonic/dart_isolate_scope.h"
14 #include "sky/engine/tonic/dart_persistent_value.h" 14 #include "sky/engine/tonic/dart_persistent_value.h"
15 #include "sky/engine/wtf/OwnPtr.h" 15 #include "sky/engine/wtf/OwnPtr.h"
16 #include "sky/engine/wtf/PassRefPtr.h"
17 #include "sky/engine/wtf/RefCounted.h"
18 16
19 namespace blink { 17 namespace blink {
20 class DartClassLibrary; 18 class DartClassLibrary;
21 class DartExceptionFactory; 19 class DartExceptionFactory;
22 class DartLibraryLoader; 20 class DartLibraryLoader;
23 class DartStringCache; 21 class DartStringCache;
24 class DartTimerHeap; 22 class DartTimerHeap;
25 23
26 // DartState represents the state associated with a given Dart isolate. The 24 // DartState represents the state associated with a given Dart isolate. The
27 // lifetime of this object is controlled by the DartVM. If you want to hold a 25 // lifetime of this object is controlled by the DartVM. If you want to hold a
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 70
73 protected: 71 protected:
74 base::WeakPtrFactory<DartState> weak_factory_; 72 base::WeakPtrFactory<DartState> weak_factory_;
75 73
76 DISALLOW_COPY_AND_ASSIGN(DartState); 74 DISALLOW_COPY_AND_ASSIGN(DartState);
77 }; 75 };
78 76
79 } // namespace blink 77 } // namespace blink
80 78
81 #endif // SKY_ENGINE_TONIC_DART_STATE_H_ 79 #endif // SKY_ENGINE_TONIC_DART_STATE_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/tonic/dart_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698