Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef InstrumentingAgents_h | |
| 6 #define InstrumentingAgents_h | |
| 7 | |
| 8 #include "wtf/Noncopyable.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 // This is a stub. | |
| 13 // This allows one agent to talk to another. | |
| 14 | |
| 15 class InspectorDebuggerAgent; | |
| 16 | |
| 17 class InstrumentingAgents { | |
|
yurys
2014/11/14 07:38:31
This class should be safe to remove if you drop as
| |
| 18 WTF_MAKE_NONCOPYABLE(InstrumentingAgents); | |
| 19 public: | |
| 20 InstrumentingAgents(InspectorDebuggerAgent* agent) : debug_agent_(agent) {} | |
| 21 | |
| 22 InspectorDebuggerAgent* inspectorDebuggerAgent() { | |
| 23 return debug_agent_; | |
| 24 } | |
| 25 | |
| 26 private: | |
| 27 | |
| 28 InspectorDebuggerAgent* debug_agent_; | |
| 29 }; | |
| 30 | |
| 31 } // namespace blink | |
| 32 | |
| 33 #endif // InstrumentingAgents_h | |
| OLD | NEW |