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

Side by Side Diff: Source/core/workers/WorkerGlobalScope.h

Issue 1063513007: Oilpan: have Console be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Console public inherits DOMWindowProperty Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/workers/WorkerConsole.h ('k') | no next file » | 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) 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 void clearScript() { m_script.clear(); } 164 void clearScript() { m_script.clear(); }
165 void clearInspector(); 165 void clearInspector();
166 166
167 static void removeURLFromMemoryCacheInternal(const KURL&); 167 static void removeURLFromMemoryCacheInternal(const KURL&);
168 168
169 KURL m_url; 169 KURL m_url;
170 String m_userAgent; 170 String m_userAgent;
171 V8CacheOptions m_v8CacheOptions; 171 V8CacheOptions m_v8CacheOptions;
172 172
173 mutable RefPtrWillBeMember<WorkerConsole> m_console; 173 mutable PersistentWillBeMember<WorkerConsole> m_console;
174 mutable PersistentWillBeMember<WorkerLocation> m_location; 174 mutable PersistentWillBeMember<WorkerLocation> m_location;
175 mutable PersistentWillBeMember<WorkerNavigator> m_navigator; 175 mutable PersistentWillBeMember<WorkerNavigator> m_navigator;
176 176
177 mutable UseCounter::CountBits m_deprecationWarningBits; 177 mutable UseCounter::CountBits m_deprecationWarningBits;
178 178
179 OwnPtr<WorkerScriptController> m_script; 179 OwnPtr<WorkerScriptController> m_script;
180 WorkerThread* m_thread; 180 WorkerThread* m_thread;
181 181
182 RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController; 182 RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController;
183 bool m_closing; 183 bool m_closing;
(...skipping 10 matching lines...) Expand all
194 194
195 unsigned long m_workerExceptionUniqueIdentifier; 195 unsigned long m_workerExceptionUniqueIdentifier;
196 WillBeHeapHashMap<unsigned long, RefPtrWillBeMember<ConsoleMessage>> m_pendi ngMessages; 196 WillBeHeapHashMap<unsigned long, RefPtrWillBeMember<ConsoleMessage>> m_pendi ngMessages;
197 }; 197 };
198 198
199 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke rGlobalScope(), context.isWorkerGlobalScope()); 199 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke rGlobalScope(), context.isWorkerGlobalScope());
200 200
201 } // namespace blink 201 } // namespace blink
202 202
203 #endif // WorkerGlobalScope_h 203 #endif // WorkerGlobalScope_h
OLDNEW
« no previous file with comments | « Source/core/workers/WorkerConsole.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698