summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/protocol_event_observer.h
diff options
context:
space:
mode:
authorabhishek.a21 <abhishek.a21@samsung.com>2015-08-07 02:32:30 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-07 09:33:01 +0000
commitad5e131d6dcef0917a95996564a0c8c3c833a4cf (patch)
tree9f3227c90bb9fd37a1097d84b140cff2e27f6a70 /components/sync_driver/protocol_event_observer.h
parentabd20f67987aaa47bb47e61288ec92b4ab761521 (diff)
downloadchromium_src-ad5e131d6dcef0917a95996564a0c8c3c833a4cf.zip
chromium_src-ad5e131d6dcef0917a95996564a0c8c3c833a4cf.tar.gz
chromium_src-ad5e131d6dcef0917a95996564a0c8c3c833a4cf.tar.bz2
Componentize protocol_event_observer
Move protocol_event_observer to sync_driver. BUG=512075 Review URL: https://codereview.chromium.org/1272863003 Cr-Commit-Position: refs/heads/master@{#342325}
Diffstat (limited to 'components/sync_driver/protocol_event_observer.h')
-rw-r--r--components/sync_driver/protocol_event_observer.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/components/sync_driver/protocol_event_observer.h b/components/sync_driver/protocol_event_observer.h
new file mode 100644
index 0000000..56e4828
--- /dev/null
+++ b/components/sync_driver/protocol_event_observer.h
@@ -0,0 +1,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_