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

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

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 25 matching lines...) Expand all
36 #include "core/workers/WorkerInspectorProxy.h" 36 #include "core/workers/WorkerInspectorProxy.h"
37 #include "wtf/Forward.h" 37 #include "wtf/Forward.h"
38 #include "wtf/HashMap.h" 38 #include "wtf/HashMap.h"
39 39
40 namespace blink { 40 namespace blink {
41 class InspectedFrames; 41 class InspectedFrames;
42 class KURL; 42 class KURL;
43 class WorkerInspectorProxy; 43 class WorkerInspectorProxy;
44 44
45 class CORE_EXPORT InspectorWorkerAgent final 45 class CORE_EXPORT InspectorWorkerAgent final
46 : public InspectorBaseAgent<InspectorWorkerAgent, protocol::Worker::Frontend > 46 : public InspectorBaseAgent<protocol::Worker::Metainfo>
47 , public protocol::Worker::Backend
48 , public WorkerInspectorProxy::PageInspector { 47 , public WorkerInspectorProxy::PageInspector {
49 WTF_MAKE_NONCOPYABLE(InspectorWorkerAgent); 48 WTF_MAKE_NONCOPYABLE(InspectorWorkerAgent);
50 public: 49 public:
51 explicit InspectorWorkerAgent(InspectedFrames*); 50 explicit InspectorWorkerAgent(InspectedFrames*);
52 ~InspectorWorkerAgent() override; 51 ~InspectorWorkerAgent() override;
53 DECLARE_VIRTUAL_TRACE(); 52 DECLARE_VIRTUAL_TRACE();
54 53
55 void disable(ErrorString*) override; 54 void disable(ErrorString*) override;
56 void restore() override; 55 void restore() override;
57 void didCommitLoadForLocalFrame(LocalFrame*) override; 56 void didCommitLoadForLocalFrame(LocalFrame*) override;
(...skipping 19 matching lines...) Expand all
77 void dispatchMessageFromWorker(WorkerInspectorProxy*, const String& message) override; 76 void dispatchMessageFromWorker(WorkerInspectorProxy*, const String& message) override;
78 77
79 Member<InspectedFrames> m_inspectedFrames; 78 Member<InspectedFrames> m_inspectedFrames;
80 HeapHashMap<String, Member<WorkerInspectorProxy>> m_connectedProxies; 79 HeapHashMap<String, Member<WorkerInspectorProxy>> m_connectedProxies;
81 String m_tracingSessionId; 80 String m_tracingSessionId;
82 }; 81 };
83 82
84 } // namespace blink 83 } // namespace blink
85 84
86 #endif // !defined(InspectorWorkerAgent_h) 85 #endif // !defined(InspectorWorkerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698