blob: 53d2dbbcba0356cfb0093e6937a3fecc73bfed77 [file]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_ENGINE_EVENTS_PROTOCOL_EVENT_OBSERVER_H_
#define COMPONENTS_SYNC_ENGINE_EVENTS_PROTOCOL_EVENT_OBSERVER_H_
#include "base/observer_list_types.h"
namespace syncer {
class ProtocolEvent;
class ProtocolEventObserver : public base::CheckedObserver {
public:
ProtocolEventObserver() = default;
~ProtocolEventObserver() override = default;
virtual void OnProtocolEvent(const ProtocolEvent& event) = 0;
};
} // namespace syncer
#endif // COMPONENTS_SYNC_ENGINE_EVENTS_PROTOCOL_EVENT_OBSERVER_H_