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

Side by Side Diff: components/sync/driver/proxy_data_type_controller.cc

Issue 2949923004: Reland: [Sync] Record sync memory usage in histogram broken by datatypes (Closed)
Patch Set: Fix linker error Created 3 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/proxy_data_type_controller.h" 5 #include "components/sync/driver/proxy_data_type_controller.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "components/sync/engine/model_safe_worker.h" 9 #include "components/sync/engine/model_safe_worker.h"
10 #include "components/sync/engine/model_type_configurer.h" 10 #include "components/sync/engine/model_type_configurer.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void ProxyDataTypeController::GetAllNodes(const AllNodesCallback& callback) { 78 void ProxyDataTypeController::GetAllNodes(const AllNodesCallback& callback) {
79 callback.Run(type(), base::MakeUnique<base::ListValue>()); 79 callback.Run(type(), base::MakeUnique<base::ListValue>());
80 } 80 }
81 81
82 void ProxyDataTypeController::GetStatusCounters( 82 void ProxyDataTypeController::GetStatusCounters(
83 const StatusCountersCallback& callback) { 83 const StatusCountersCallback& callback) {
84 syncer::StatusCounters counters; 84 syncer::StatusCounters counters;
85 callback.Run(type(), counters); 85 callback.Run(type(), counters);
86 } 86 }
87 87
88 void ProxyDataTypeController::RecordMemoryUsageHistogram() {}
89
88 } // namespace syncer 90 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/proxy_data_type_controller.h ('k') | components/sync/model/model_type_debug_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698