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

Side by Side Diff: sky/engine/core/frame/ConsoleBase.h

Issue 681113004: Remove Heap.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 14 matching lines...) Expand all
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef ConsoleBase_h 30 #ifndef ConsoleBase_h
31 #define ConsoleBase_h 31 #define ConsoleBase_h
32 32
33 #include "bindings/core/v8/ScriptState.h" 33 #include "bindings/core/v8/ScriptState.h"
34 #include "bindings/core/v8/ScriptWrappable.h" 34 #include "bindings/core/v8/ScriptWrappable.h"
35 #include "core/frame/ConsoleTypes.h"
36 #include "core/frame/DOMWindowProperty.h"
35 #include "core/inspector/ConsoleAPITypes.h" 37 #include "core/inspector/ConsoleAPITypes.h"
36 #include "core/inspector/ScriptCallStack.h" 38 #include "core/inspector/ScriptCallStack.h"
37 #include "core/frame/ConsoleTypes.h"
38 #include "core/frame/DOMWindowProperty.h"
39 #include "platform/heap/Handle.h" 39 #include "platform/heap/Handle.h"
40 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
41 #include "wtf/HashCountedSet.h"
41 #include "wtf/PassRefPtr.h" 42 #include "wtf/PassRefPtr.h"
42 #include "wtf/RefCounted.h" 43 #include "wtf/RefCounted.h"
43 44
44 namespace blink { 45 namespace blink {
45 46
46 class ConsoleMessage; 47 class ConsoleMessage;
47 class ScriptArguments; 48 class ScriptArguments;
48 49
49 class ConsoleBase : public RefCounted<ConsoleBase>, public ScriptWrappable { 50 class ConsoleBase : public RefCounted<ConsoleBase>, public ScriptWrappable {
50 DEFINE_WRAPPERTYPEINFO(); 51 DEFINE_WRAPPERTYPEINFO();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 private: 85 private:
85 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtr< ScriptArguments>, bool acceptNoArguments = false, bool printTrace = false); 86 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtr< ScriptArguments>, bool acceptNoArguments = false, bool printTrace = false);
86 87
87 HashCountedSet<String> m_counts; 88 HashCountedSet<String> m_counts;
88 HashMap<String, double> m_times; 89 HashMap<String, double> m_times;
89 }; 90 };
90 91
91 } // namespace blink 92 } // namespace blink
92 93
93 #endif // ConsoleBase_h 94 #endif // ConsoleBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698