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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 829503002: Oilpan: fix build after r187699. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing WorkerInspectorController tracing Created 5 years, 12 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 // Async call stacks implementation 174 // Async call stacks implementation
175 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsol e(); 175 PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> currentAsyncStackTraceForConsol e();
176 PassRefPtrWillBeRawPtr<AsyncCallChain> createAsyncCallChain(const String& de scription); 176 PassRefPtrWillBeRawPtr<AsyncCallChain> createAsyncCallChain(const String& de scription);
177 void setCurrentAsyncCallChain(v8::Isolate*, PassRefPtrWillBeRawPtr<AsyncCall Chain>); 177 void setCurrentAsyncCallChain(v8::Isolate*, PassRefPtrWillBeRawPtr<AsyncCall Chain>);
178 const AsyncCallChain* currentAsyncCallChain() const; 178 const AsyncCallChain* currentAsyncCallChain() const;
179 void clearCurrentAsyncCallChain(); 179 void clearCurrentAsyncCallChain();
180 void didCompleteAsyncOperation(AsyncCallChain*); 180 void didCompleteAsyncOperation(AsyncCallChain*);
181 bool trackingAsyncCalls() const { return m_maxAsyncCallStackDepth; } 181 bool trackingAsyncCalls() const { return m_maxAsyncCallStackDepth; }
182 182
183 class AsyncCallTrackingListener { 183 class AsyncCallTrackingListener : public WillBeGarbageCollectedMixin {
184 public: 184 public:
185 virtual ~AsyncCallTrackingListener() { } 185 virtual ~AsyncCallTrackingListener() { }
186 virtual void trace(Visitor*) { }
186 virtual void asyncCallTrackingStateChanged(bool tracking) = 0; 187 virtual void asyncCallTrackingStateChanged(bool tracking) = 0;
187 virtual void resetAsyncCallChains() = 0; 188 virtual void resetAsyncCallChains() = 0;
188 }; 189 };
189 void addAsyncCallTrackingListener(AsyncCallTrackingListener*); 190 void addAsyncCallTrackingListener(AsyncCallTrackingListener*);
190 void removeAsyncCallTrackingListener(AsyncCallTrackingListener*); 191 void removeAsyncCallTrackingListener(AsyncCallTrackingListener*);
191 192
192 protected: 193 protected:
193 explicit InspectorDebuggerAgent(InjectedScriptManager*); 194 explicit InspectorDebuggerAgent(InjectedScriptManager*);
194 195
195 virtual void startListeningScriptDebugServer() = 0; 196 virtual void startListeningScriptDebugServer() = 0;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 285 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
285 unsigned m_cachedSkipStackGeneration; 286 unsigned m_cachedSkipStackGeneration;
286 OwnPtrWillBeMember<V8AsyncCallTracker> m_v8AsyncCallTracker; 287 OwnPtrWillBeMember<V8AsyncCallTracker> m_v8AsyncCallTracker;
287 OwnPtrWillBeMember<PromiseTracker> m_promiseTracker; 288 OwnPtrWillBeMember<PromiseTracker> m_promiseTracker;
288 289
289 WillBeHeapHashSet<RefPtrWillBeMember<AsyncCallChain> > m_asyncOperationsForS tepInto; 290 WillBeHeapHashSet<RefPtrWillBeMember<AsyncCallChain> > m_asyncOperationsForS tepInto;
290 unsigned m_maxAsyncCallStackDepth; 291 unsigned m_maxAsyncCallStackDepth;
291 RefPtrWillBeMember<AsyncCallChain> m_currentAsyncCallChain; 292 RefPtrWillBeMember<AsyncCallChain> m_currentAsyncCallChain;
292 unsigned m_nestedAsyncCallCount; 293 unsigned m_nestedAsyncCallCount;
293 bool m_performingAsyncStepIn; 294 bool m_performingAsyncStepIn;
294 WillBeHeapVector<AsyncCallTrackingListener*> m_asyncCallTrackingListeners; 295 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT rackingListeners;
295 }; 296 };
296 297
297 } // namespace blink 298 } // namespace blink
298 299
299 300
300 #endif // !defined(InspectorDebuggerAgent_h) 301 #endif // InspectorDebuggerAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698