Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: sync/engine/syncer_types.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/engine/syncer_proto_util_unittest.cc ('k') | sync/engine/syncer_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_TYPES_H_ 5 #ifndef SYNC_ENGINE_SYNCER_TYPES_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_TYPES_H_ 6 #define SYNC_ENGINE_SYNCER_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "chrome/browser/sync/syncable/model_type.h" 14 #include "sync/syncable/model_type.h"
15 15
16 namespace syncable { 16 namespace syncable {
17 class Id; 17 class Id;
18 } 18 }
19 19
20 // The intent of this is to keep all shared data types and enums for the syncer 20 // The intent of this is to keep all shared data types and enums for the syncer
21 // in a single place without having dependencies between other files. 21 // in a single place without having dependencies between other files.
22 namespace browser_sync { 22 namespace browser_sync {
23 23
24 namespace sessions { 24 namespace sessions {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 public: 148 public:
149 // TODO(tim): Consider splitting this up to multiple callbacks, rather than 149 // TODO(tim): Consider splitting this up to multiple callbacks, rather than
150 // have to do Event e(type); OnSyncEngineEvent(e); at all callsites, 150 // have to do Event e(type); OnSyncEngineEvent(e); at all callsites,
151 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0; 151 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0;
152 protected: 152 protected:
153 virtual ~SyncEngineEventListener() {} 153 virtual ~SyncEngineEventListener() {}
154 }; 154 };
155 155
156 } // namespace browser_sync 156 } // namespace browser_sync
157 157
158 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_TYPES_H_ 158 #endif // SYNC_ENGINE_SYNCER_TYPES_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer_proto_util_unittest.cc ('k') | sync/engine/syncer_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698