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

Side by Side Diff: components/sync/driver/data_type_manager_impl.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/driver/data_type_manager_impl.h" 5 #include "components/sync/driver/data_type_manager_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
16 #include "base/profiler/scoped_tracker.h" 15 #include "base/profiler/scoped_tracker.h"
17 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
18 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
20 #include "components/sync/core/data_type_debug_info_listener.h" 19 #include "components/sync/core/data_type_debug_info_listener.h"
21 #include "components/sync/driver/data_type_encryption_handler.h" 20 #include "components/sync/driver/data_type_encryption_handler.h"
22 #include "components/sync/driver/data_type_manager_observer.h" 21 #include "components/sync/driver/data_type_manager_observer.h"
23 #include "components/sync/driver/data_type_status_table.h" 22 #include "components/sync/driver/data_type_status_table.h"
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 DCHECK(!last_restart_time_.is_null()); 683 DCHECK(!last_restart_time_.is_null());
685 configure_time_delta_ += (base::Time::Now() - last_restart_time_); 684 configure_time_delta_ += (base::Time::Now() - last_restart_time_);
686 } 685 }
687 686
688 ModelTypeSet DataTypeManagerImpl::GetEnabledTypes() const { 687 ModelTypeSet DataTypeManagerImpl::GetEnabledTypes() const {
689 return syncer::Difference(last_requested_types_, 688 return syncer::Difference(last_requested_types_,
690 data_type_status_table_.GetFailedTypes()); 689 data_type_status_table_.GetFailedTypes());
691 } 690 }
692 691
693 } // namespace sync_driver 692 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync/driver/data_type_controller.cc ('k') | components/sync/driver/data_type_status_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698