summaryrefslogtreecommitdiffstats
path: root/content/browser/devtools/protocol/devtools_protocol_delegate.h
blob: 489020b77040e23baf7a306356fe1d79b39913e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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() { }
  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_