summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/protocol_event_observer.h
blob: 56e48284e6ffed93337d9d8af18582f121c19c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 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 COMPONENTS_SYNC_DRIVER_PROTOCOL_EVENT_OBSERVER_H_
#define COMPONENTS_SYNC_DRIVER_PROTOCOL_EVENT_OBSERVER_H_

namespace syncer {
class ProtocolEvent;
}

namespace browser_sync {

class ProtocolEventObserver {
 public:
  ProtocolEventObserver();
  virtual ~ProtocolEventObserver();

  virtual void OnProtocolEvent(const syncer::ProtocolEvent& event) = 0;
};

}  // namespace browser_sync

#endif  // COMPONENTS_SYNC_DRIVER_PROTOCOL_EVENT_OBSERVER_H_