summaryrefslogtreecommitdiff
path: root/chrome/browser/sync/protocol_event_observer.h
blob: 3ed4095fb72990dc3e3782fb0b53f54c584eb81f (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 CHROME_BROWSER_SYNC_PROTOCOL_EVENT_OBSERVER_H_
#define CHROME_BROWSER_SYNC_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  // CHROME_BROWSER_SYNC_PROTOCOL_EVENT_OBSERVER_H_