Chromium Code Reviews| Index: sky/engine/core/inspector/InstrumentingAgents.h |
| diff --git a/sky/engine/core/inspector/InstrumentingAgents.h b/sky/engine/core/inspector/InstrumentingAgents.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4e5ff02da06e48a6feb75d6e82f8c73ee12dfd24 |
| --- /dev/null |
| +++ b/sky/engine/core/inspector/InstrumentingAgents.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef InstrumentingAgents_h |
| +#define InstrumentingAgents_h |
| + |
| +#include "wtf/Noncopyable.h" |
| + |
| +namespace blink { |
| + |
| +// This is a stub. |
| +// This allows one agent to talk to another. |
| + |
| +class InspectorDebuggerAgent; |
| + |
| +class InstrumentingAgents { |
|
yurys
2014/11/14 07:38:31
This class should be safe to remove if you drop as
|
| + WTF_MAKE_NONCOPYABLE(InstrumentingAgents); |
| +public: |
| + InstrumentingAgents(InspectorDebuggerAgent* agent) : debug_agent_(agent) {} |
| + |
| + InspectorDebuggerAgent* inspectorDebuggerAgent() { |
| + return debug_agent_; |
| + } |
| + |
| +private: |
| + |
| + InspectorDebuggerAgent* debug_agent_; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // InstrumentingAgents_h |