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

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

Issue 809023003: Oilpan: fix build after r187362. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "core/inspector/InspectorDebuggerAgent.h" 35 #include "core/inspector/InspectorDebuggerAgent.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class WorkerGlobalScope; 39 class WorkerGlobalScope;
40 class WorkerDebuggerAgent; 40 class WorkerDebuggerAgent;
41 41
42 class WorkerDebuggerAgent final : public InspectorDebuggerAgent { 42 class WorkerDebuggerAgent final : public InspectorDebuggerAgent {
43 WTF_MAKE_NONCOPYABLE(WorkerDebuggerAgent); 43 WTF_MAKE_NONCOPYABLE(WorkerDebuggerAgent);
44 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 44 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerDebuggerAgent);
46 public: 45 public:
47 static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugS erver*, WorkerGlobalScope*, InjectedScriptManager*); 46 static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugS erver*, WorkerGlobalScope*, InjectedScriptManager*);
48 ~WorkerDebuggerAgent() override; 47 ~WorkerDebuggerAgent() override;
49 void trace(Visitor*) override; 48 void trace(Visitor*) override;
50 49
51 void interruptAndDispatchInspectorCommands(); 50 void interruptAndDispatchInspectorCommands();
52 51
53 private: 52 private:
54 53
55 WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedSc riptManager*); 54 WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedSc riptManager*);
56 55
57 void startListeningScriptDebugServer() override; 56 void startListeningScriptDebugServer() override;
58 void stopListeningScriptDebugServer() override; 57 void stopListeningScriptDebugServer() override;
59 WorkerScriptDebugServer& scriptDebugServer() override; 58 WorkerScriptDebugServer& scriptDebugServer() override;
60 InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte xtId) override; 59 InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte xtId) override;
61 void muteConsole() override; 60 void muteConsole() override;
62 void unmuteConsole() override; 61 void unmuteConsole() override;
63 62
64 WorkerScriptDebugServer* m_scriptDebugServer; 63 WorkerScriptDebugServer* m_scriptDebugServer;
65 RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope; 64 RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope;
66 }; 65 };
67 66
68 } // namespace blink 67 } // namespace blink
69 68
70 #endif // !defined(WorkerDebuggerAgent_h) 69 #endif // !defined(WorkerDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698