Chromium Code Reviews| Index: content/browser/devtools/protocol/devtools_protocol_delegate.h |
| diff --git a/content/browser/devtools/protocol/devtools_protocol_delegate.h b/content/browser/devtools/protocol/devtools_protocol_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..20c476bd746530140b4002e0bb41070d272ddd46 |
| --- /dev/null |
| +++ b/content/browser/devtools/protocol/devtools_protocol_delegate.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2015 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_DELEGATE_H_ |
| +#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_DELEGATE_H_ |
| + |
| +#include "content/common/content_export.h" |
| + |
| +namespace content { |
| + |
| +class CONTENT_EXPORT DevToolsProtocolDelegate { |
| +public: |
| + virtual ~DevToolsProtocolDelegate(){} |
|
dgozman
2015/11/20 20:25:07
nit: space before {}
kozy
2015/11/21 00:49:00
Done.
|
| + virtual void SendProtocolResponse(int session_id, |
| + const std::string& message) = 0; |
| + virtual void SendProtocolNotification(const std::string& message) = 0; |
| +}; |
| + |
| +} // content |
| + |
| +#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DEVTOOLS_PROTOCOL_DELEGATE_H_ |