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

Side by Side Diff: components/sync/base/progress_marker_map.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « components/sync/base/ordinal_unittest.cc ('k') | components/sync/base/progress_marker_map.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 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 // Definition of ProgressMarkerMap and various utility functions. 5 // Definition of ProgressMarkerMap and various utility functions.
6 6
7 #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_PROGRESS_MARKER_MAP_H_ 7 #ifndef COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_
8 #define SYNC_INTERNAL_API_PUBLIC_BASE_PROGRESS_MARKER_MAP_H_ 8 #define COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 13
14 #include "sync/base/sync_export.h" 14 #include "components/sync/base/model_type.h"
15 #include "sync/internal_api/public/base/model_type.h" 15 #include "components/sync/base/sync_export.h"
16 16
17 // TODO(akalin,mmontgomery): Move the non-exported functions in this file to a 17 // TODO(akalin,mmontgomery): Move the non-exported functions in this file to a
18 // private header. 18 // private header.
19 19
20 namespace base { 20 namespace base {
21 class DictionaryValue; 21 class DictionaryValue;
22 } 22 }
23 23
24 namespace syncer { 24 namespace syncer {
25 25
26 // A container that maps ModelType to serialized 26 // A container that maps ModelType to serialized
27 // DataTypeProgressMarkers. 27 // DataTypeProgressMarkers.
28 typedef std::map<ModelType, std::string> ProgressMarkerMap; 28 typedef std::map<ModelType, std::string> ProgressMarkerMap;
29 29
30 SYNC_EXPORT std::unique_ptr<base::DictionaryValue> ProgressMarkerMapToValue( 30 SYNC_EXPORT std::unique_ptr<base::DictionaryValue> ProgressMarkerMapToValue(
31 const ProgressMarkerMap& marker_map); 31 const ProgressMarkerMap& marker_map);
32 32
33 } // namespace syncer 33 } // namespace syncer
34 34
35 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_PROGRESS_MARKER_MAP_H_ 35 #endif // COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_
OLDNEW
« no previous file with comments | « components/sync/base/ordinal_unittest.cc ('k') | components/sync/base/progress_marker_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698