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

Side by Side Diff: components/sync/sessions_impl/data_type_tracker.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/sessions_impl/DEPS ('k') | components/sync/sessions_impl/data_type_tracker.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SESSIONS_DATA_TYPE_TRACKER_H_ 5 #ifndef COMPONENTS_SYNC_SESSIONS_IMPL_DATA_TYPE_TRACKER_H_
6 #define SYNC_SESSIONS_DATA_TYPE_TRACKER_H_ 6 #define COMPONENTS_SYNC_SESSIONS_IMPL_DATA_TYPE_TRACKER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "sync/internal_api/public/base/invalidation_interface.h" 16 #include "components/sync/base/invalidation_interface.h"
17 #include "sync/internal_api/public/base/model_type.h" 17 #include "components/sync/base/model_type.h"
18 #include "sync/protocol/sync.pb.h" 18 #include "components/sync/protocol/sync.pb.h"
19 19
20 namespace syncer { 20 namespace syncer {
21 21
22 class InvalidationInterface; 22 class InvalidationInterface;
23 23
24 namespace sessions { 24 namespace sessions {
25 25
26 // A class to track the per-type scheduling data. 26 // A class to track the per-type scheduling data.
27 class DataTypeTracker { 27 class DataTypeTracker {
28 public: 28 public:
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // The amount of time to delay a sync cycle by when a local change for this 145 // The amount of time to delay a sync cycle by when a local change for this
146 // type occurs. 146 // type occurs.
147 base::TimeDelta nudge_delay_; 147 base::TimeDelta nudge_delay_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(DataTypeTracker); 149 DISALLOW_COPY_AND_ASSIGN(DataTypeTracker);
150 }; 150 };
151 151
152 } // namespace sessions 152 } // namespace sessions
153 } // namespace syncer 153 } // namespace syncer
154 154
155 #endif // SYNC_SESSIONS_DATA_TYPE_TRACKER_H_ 155 #endif // COMPONENTS_SYNC_SESSIONS_IMPL_DATA_TYPE_TRACKER_H_
OLDNEW
« no previous file with comments | « components/sync/sessions_impl/DEPS ('k') | components/sync/sessions_impl/data_type_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698