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

Side by Side Diff: components/sync/device_info/device_info_sync_service.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/sync/device_info/device_info_sync_service.h" 5 #include "components/sync/device_info/device_info_sync_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/time/time.h"
14 #include "components/sync/api/sync_change.h"
15 #include "components/sync/base/time.h" 13 #include "components/sync/base/time.h"
16 #include "components/sync/device_info/device_info_util.h" 14 #include "components/sync/device_info/device_info_util.h"
17 #include "components/sync/device_info/local_device_info_provider.h" 15 #include "components/sync/device_info/local_device_info_provider.h"
18 #include "components/sync/protocol/sync.pb.h" 16 #include "components/sync/protocol/sync.pb.h"
19 17
20 namespace sync_driver { 18 namespace sync_driver {
21 19
22 using base::Time; 20 using base::Time;
23 using base::TimeDelta; 21 using base::TimeDelta;
24 using syncer::ModelType; 22 using syncer::ModelType;
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 return syncer::SyncDataRemote(device_info).GetModifiedTime(); 325 return syncer::SyncDataRemote(device_info).GetModifiedTime();
328 } else { 326 } else {
329 // We shouldn't reach this point for remote data, so this means we're likely 327 // We shouldn't reach this point for remote data, so this means we're likely
330 // looking at the local device info. Using a long ago time is perfect, since 328 // looking at the local device info. Using a long ago time is perfect, since
331 // the desired behavior is to update/pulse our data as soon as possible. 329 // the desired behavior is to update/pulse our data as soon as possible.
332 return Time(); 330 return Time();
333 } 331 }
334 } 332 }
335 333
336 } // namespace sync_driver 334 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync/device_info/device_info_service.cc ('k') | components/sync/driver/about_sync_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698