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

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

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 #ifndef COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__
6 #define COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ 6 #define COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 void RegisterWithBackend(base::Callback<void(bool)> set_downloaded, 28 void RegisterWithBackend(base::Callback<void(bool)> set_downloaded,
29 ModelTypeConfigurer* configurer) override; 29 ModelTypeConfigurer* configurer) override;
30 void StartAssociating(const StartCallback& start_callback) override; 30 void StartAssociating(const StartCallback& start_callback) override;
31 void Stop() override; 31 void Stop() override;
32 std::string name() const override; 32 std::string name() const override;
33 State state() const override; 33 State state() const override;
34 void ActivateDataType(ModelTypeConfigurer* configurer) override; 34 void ActivateDataType(ModelTypeConfigurer* configurer) override;
35 void DeactivateDataType(ModelTypeConfigurer* configurer) override; 35 void DeactivateDataType(ModelTypeConfigurer* configurer) override;
36 void GetAllNodes(const AllNodesCallback& callback) override; 36 void GetAllNodes(const AllNodesCallback& callback) override;
37 void GetStatusCounters(const StatusCountersCallback& callback) override; 37 void GetStatusCounters(const StatusCountersCallback& callback) override;
38 void RecordMemoryUsageHistogram() override;
38 39
39 private: 40 private:
40 State state_; 41 State state_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(ProxyDataTypeController); 43 DISALLOW_COPY_AND_ASSIGN(ProxyDataTypeController);
43 }; 44 };
44 45
45 } // namespace syncer 46 } // namespace syncer
46 47
47 #endif // COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ 48 #endif // COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__
OLDNEW
« no previous file with comments | « components/sync/driver/model_type_controller.cc ('k') | components/sync/driver/proxy_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698