blob: da17db6f168e66776f899bd1024f658fe6c45f99 [file] [log] [blame]
// 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_