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