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

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

Issue 723253004: Remove tons of OILPAN. (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
« no previous file with comments | « sky/engine/core/frame/Console.h ('k') | sky/engine/core/frame/FrameConsole.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 /* 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void profileEnd(const String&); 67 void profileEnd(const String&);
68 void time(const String&); 68 void time(const String&);
69 void timeEnd(ScriptState*, const String&); 69 void timeEnd(ScriptState*, const String&);
70 void timeStamp(const String&); 70 void timeStamp(const String&);
71 void timeline(ScriptState*, const String&); 71 void timeline(ScriptState*, const String&);
72 void timelineEnd(ScriptState*, const String&); 72 void timelineEnd(ScriptState*, const String&);
73 void group(ScriptState*, PassRefPtr<ScriptArguments>); 73 void group(ScriptState*, PassRefPtr<ScriptArguments>);
74 void groupCollapsed(ScriptState*, PassRefPtr<ScriptArguments>); 74 void groupCollapsed(ScriptState*, PassRefPtr<ScriptArguments>);
75 void groupEnd(); 75 void groupEnd();
76 76
77 virtual void trace(Visitor*) { }
78
79 virtual ~ConsoleBase(); 77 virtual ~ConsoleBase();
80 78
81 protected: 79 protected:
82 virtual ExecutionContext* context() = 0; 80 virtual ExecutionContext* context() = 0;
83 virtual void reportMessageToConsole(PassRefPtr<ConsoleMessage>) = 0; 81 virtual void reportMessageToConsole(PassRefPtr<ConsoleMessage>) = 0;
84 82
85 private: 83 private:
86 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtr< ScriptArguments>, bool acceptNoArguments = false, bool printTrace = false); 84 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtr< ScriptArguments>, bool acceptNoArguments = false, bool printTrace = false);
87 85
88 HashCountedSet<String> m_counts; 86 HashCountedSet<String> m_counts;
89 HashMap<String, double> m_times; 87 HashMap<String, double> m_times;
90 }; 88 };
91 89
92 } // namespace blink 90 } // namespace blink
93 91
94 #endif // ConsoleBase_h 92 #endif // ConsoleBase_h
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Console.h ('k') | sky/engine/core/frame/FrameConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698