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

Side by Side Diff: components/sync_driver/data_type_manager_impl.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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" 13 #include "base/compiler_specific.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/profiler/scoped_tracker.h" 16 #include "base/profiler/scoped_tracker.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
19 #include "components/sync_driver/data_type_controller.h" 19 #include "components/sync_driver/data_type_controller.h"
20 #include "components/sync_driver/data_type_encryption_handler.h" 20 #include "components/sync_driver/data_type_encryption_handler.h"
21 #include "components/sync_driver/data_type_manager_observer.h" 21 #include "components/sync_driver/data_type_manager_observer.h"
22 #include "components/sync_driver/data_type_status_table.h" 22 #include "components/sync_driver/data_type_status_table.h"
23 #include "sync/internal_api/public/data_type_debug_info_listener.h" 23 #include "sync/internal_api/public/data_type_debug_info_listener.h"
24 24
25 namespace sync_driver { 25 namespace sync_driver {
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 DataTypeManager::State DataTypeManagerImpl::state() const { 651 DataTypeManager::State DataTypeManagerImpl::state() const {
652 return state_; 652 return state_;
653 } 653 }
654 654
655 void DataTypeManagerImpl::AddToConfigureTime() { 655 void DataTypeManagerImpl::AddToConfigureTime() {
656 DCHECK(!last_restart_time_.is_null()); 656 DCHECK(!last_restart_time_.is_null());
657 configure_time_delta_ += (base::Time::Now() - last_restart_time_); 657 configure_time_delta_ += (base::Time::Now() - last_restart_time_);
658 } 658 }
659 659
660 } // namespace sync_driver 660 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/suggestions/suggestions_service.cc ('k') | components/sync_driver/model_association_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698