summaryrefslogtreecommitdiffstats
path: root/blimp/net/connection_error_observer.h
blob: da17db6f168e66776f899bd1024f658fe6c45f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 BLIMP_NET_CONNECTION_ERROR_OBSERVER_H_
#define BLIMP_NET_CONNECTION_ERROR_OBSERVER_H_

namespace blimp {

class ConnectionErrorObserver {
 public:
  virtual ~ConnectionErrorObserver() {}

  // Called when a blimp connection encounters an error.
  virtual void OnConnectionError(int error) = 0;
};

}  // namespace blimp

#endif  // BLIMP_NET_CONNECTION_ERROR_OBSERVER_H_