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

Side by Side Diff: sync/internal_api/change_reorder_buffer.h

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/verify_updates_command.h ('k') | sync/internal_api/js_mutation_event_observer.h » ('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 // Defines ChangeReorderBuffer, which can be used to sort a list of item 5 // Defines ChangeReorderBuffer, which can be used to sort a list of item
6 // actions to achieve the ordering constraint required by the SyncObserver 6 // actions to achieve the ordering constraint required by the SyncObserver
7 // interface of the SyncAPI. 7 // interface of the SyncAPI.
8 8
9 #ifndef SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_ 9 #ifndef SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
10 #define SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_ 10 #define SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
11 #pragma once
12 11
13 #include <map> 12 #include <map>
14 #include <vector> 13 #include <vector>
15 14
16 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
17 #include "base/memory/linked_ptr.h" 16 #include "base/memory/linked_ptr.h"
18 #include "sync/internal_api/public/base_transaction.h" 17 #include "sync/internal_api/public/base_transaction.h"
19 #include "sync/internal_api/public/change_record.h" 18 #include "sync/internal_api/public/change_record.h"
20 #include "sync/protocol/sync.pb.h" 19 #include "sync/protocol/sync.pb.h"
21 20
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 114
116 // Stores type-specific extra data per-ID. 115 // Stores type-specific extra data per-ID.
117 ExtraDataMap extra_data_; 116 ExtraDataMap extra_data_;
118 117
119 DISALLOW_COPY_AND_ASSIGN(ChangeReorderBuffer); 118 DISALLOW_COPY_AND_ASSIGN(ChangeReorderBuffer);
120 }; 119 };
121 120
122 } // namespace syncer 121 } // namespace syncer
123 122
124 #endif // SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_ 123 #endif // SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
OLDNEW
« no previous file with comments | « sync/engine/verify_updates_command.h ('k') | sync/internal_api/js_mutation_event_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698