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

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

Issue 2425673003: [Sync] Moved down comments directly following copyright. (Closed)
Patch Set: Updates for Max. Created 4 years, 2 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/pref_names.h ('k') | components/sync/base/time.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 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 //
5 // Definition of ProgressMarkerMap and various utility functions.
6 4
7 #ifndef COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_ 5 #ifndef COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_
8 #define COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_ 6 #define COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_
9 7
10 #include <map> 8 #include <map>
11 #include <memory> 9 #include <memory>
12 #include <string> 10 #include <string>
13 11
14 #include "components/sync/base/model_type.h" 12 #include "components/sync/base/model_type.h"
15 13
16 // TODO(akalin,mmontgomery): Move the non-exported functions in this file to a
17 // private header.
18
19 namespace base { 14 namespace base {
20 class DictionaryValue; 15 class DictionaryValue;
21 } 16 }
22 17
23 namespace syncer { 18 namespace syncer {
24 19
25 // A container that maps ModelType to serialized 20 // A container that maps ModelType to serialized
26 // DataTypeProgressMarkers. 21 // DataTypeProgressMarkers.
27 typedef std::map<ModelType, std::string> ProgressMarkerMap; 22 typedef std::map<ModelType, std::string> ProgressMarkerMap;
28 23
29 std::unique_ptr<base::DictionaryValue> ProgressMarkerMapToValue( 24 std::unique_ptr<base::DictionaryValue> ProgressMarkerMapToValue(
30 const ProgressMarkerMap& marker_map); 25 const ProgressMarkerMap& marker_map);
31 26
32 } // namespace syncer 27 } // namespace syncer
33 28
34 #endif // COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_ 29 #endif // COMPONENTS_SYNC_BASE_PROGRESS_MARKER_MAP_H_
OLDNEW
« no previous file with comments | « components/sync/base/pref_names.h ('k') | components/sync/base/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698