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

Side by Side Diff: chrome/browser/sync/glue/model_associator.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
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_GLUE_MODEL_ASSOCIATOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "chrome/browser/sync/syncable/model_type.h" 11 #include "sync/syncable/model_type.h"
12 12
13 class SyncError; 13 class SyncError;
14 14
15 namespace sync_api { 15 namespace sync_api {
16 class BaseNode; 16 class BaseNode;
17 } 17 }
18 18
19 namespace browser_sync { 19 namespace browser_sync {
20 20
21 // This represents the fundamental operations used for model association that 21 // This represents the fundamental operations used for model association that
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Associates the given chrome node with the given sync id. 86 // Associates the given chrome node with the given sync id.
87 virtual void Associate(const Node* node, int64 sync_id) = 0; 87 virtual void Associate(const Node* node, int64 sync_id) = 0;
88 88
89 // Remove the association that corresponds to the given sync id. 89 // Remove the association that corresponds to the given sync id.
90 virtual void Disassociate(int64 sync_id) = 0; 90 virtual void Disassociate(int64 sync_id) = 0;
91 }; 91 };
92 92
93 } // namespace browser_sync 93 } // namespace browser_sync
94 94
95 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_H_ 95 #endif // CHROME_BROWSER_SYNC_GLUE_MODEL_ASSOCIATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/history_model_worker.h ('k') | chrome/browser/sync/glue/new_non_frontend_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698