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

Side by Side Diff: third_party/WebKit/Source/core/inspector/PageDebuggerAgent.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 28 matching lines...) Expand all
39 using blink::protocol::Runtime::RemoteObject; 39 using blink::protocol::Runtime::RemoteObject;
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class DocumentLoader; 43 class DocumentLoader;
44 class InspectedFrames; 44 class InspectedFrames;
45 45
46 class CORE_EXPORT PageDebuggerAgent final 46 class CORE_EXPORT PageDebuggerAgent final
47 : public InspectorDebuggerAgent { 47 : public InspectorDebuggerAgent {
48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); 48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent);
49 USING_FAST_MALLOC_WILL_BE_REMOVED(PageDebuggerAgent);
50 public: 49 public:
51 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(InspectedFrames*, V8 RuntimeAgent*); 50 static RawPtr<PageDebuggerAgent> create(InspectedFrames*, V8RuntimeAgent*);
52 ~PageDebuggerAgent() override; 51 ~PageDebuggerAgent() override;
53 DECLARE_VIRTUAL_TRACE(); 52 DECLARE_VIRTUAL_TRACE();
54 53
55 void enable(ErrorString*) final; 54 void enable(ErrorString*) final;
56 void disable(ErrorString*) final; 55 void disable(ErrorString*) final;
57 void restore() final; 56 void restore() final;
58 57
59 void didStartProvisionalLoad(LocalFrame*); 58 void didStartProvisionalLoad(LocalFrame*);
60 void didClearDocumentOfWindowObject(LocalFrame*); 59 void didClearDocumentOfWindowObject(LocalFrame*);
61 60
62 private: 61 private:
63 PageDebuggerAgent(InspectedFrames*, V8RuntimeAgent*); 62 PageDebuggerAgent(InspectedFrames*, V8RuntimeAgent*);
64 void muteConsole() override; 63 void muteConsole() override;
65 void unmuteConsole() override; 64 void unmuteConsole() override;
66 65
67 // V8DebuggerAgent::Client implemntation. 66 // V8DebuggerAgent::Client implemntation.
68 bool canExecuteScripts() const; 67 bool canExecuteScripts() const;
69 68
70 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; 69 Member<InspectedFrames> m_inspectedFrames;
71 HashMap<String, String> m_compiledScriptURLs; 70 HashMap<String, String> m_compiledScriptURLs;
72 }; 71 };
73 72
74 } // namespace blink 73 } // namespace blink
75 74
76 75
77 #endif // !defined(PageDebuggerAgent_h) 76 #endif // !defined(PageDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698