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

Side by Side Diff: sync/internal_api/public/data_type_association_stats.h

Issue 11515009: [sync] Componentize sync: Part 2: Add SYNC_EXPORTs to files in src/sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR Feedback Created 8 years 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/internal_api/public/change_record.h ('k') | sync/internal_api/public/http_bridge.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 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 SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_
6 #define SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_
7 7
8 #include "sync/base/sync_export.h"
8 #include "sync/internal_api/public/base/model_type.h" 9 #include "sync/internal_api/public/base/model_type.h"
9 10
10 namespace syncer { 11 namespace syncer {
11 12
12 // Container for datatype association results. 13 // Container for datatype association results.
13 struct DataTypeAssociationStats { 14 struct SYNC_EXPORT DataTypeAssociationStats {
14 DataTypeAssociationStats(); 15 DataTypeAssociationStats();
15 ~DataTypeAssociationStats(); 16 ~DataTypeAssociationStats();
16 17
17 // The datatype that was associated. 18 // The datatype that was associated.
18 ModelType model_type; 19 ModelType model_type;
19 20
20 // The state of the world before association. 21 // The state of the world before association.
21 int num_local_items_before_association; 22 int num_local_items_before_association;
22 int num_sync_items_before_association; 23 int num_sync_items_before_association;
23 24
(...skipping 10 matching lines...) Expand all
34 int num_sync_items_deleted; 35 int num_sync_items_deleted;
35 int num_sync_items_modified; 36 int num_sync_items_modified;
36 37
37 // Whether a datatype unrecoverable error was encountered during association. 38 // Whether a datatype unrecoverable error was encountered during association.
38 bool had_error; 39 bool had_error;
39 }; 40 };
40 41
41 } // namespace syncer 42 } // namespace syncer
42 43
43 #endif // SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_ 44 #endif // SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_ASSOCIATION_STATS_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/change_record.h ('k') | sync/internal_api/public/http_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698