summaryrefslogtreecommitdiffstats
path: root/sync/BUILD.gn
diff options
context:
space:
mode:
authoramohammadkhan <amohammadkhan@google.com>2015-08-25 15:37:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-25 22:38:08 +0000
commit30c09859c0ec4afbc12b09fc6adda4312afdbd65 (patch)
tree06cb810fa42a9f50bc1ccd27c0c8b4ac6e207344 /sync/BUILD.gn
parent7926aeca384a139803d5b9a0f7c886d9b95563e2 (diff)
downloadchromium_src-30c09859c0ec4afbc12b09fc6adda4312afdbd65.zip
chromium_src-30c09859c0ec4afbc12b09fc6adda4312afdbd65.tar.gz
chromium_src-30c09859c0ec4afbc12b09fc6adda4312afdbd65.tar.bz2
Measuring data use of different ModelTypes in Sync Service.
To understand the contribution of each ModelType to total traffic of Sync service, SyncEntries of different ModelTypes in update and commit messages are counteda and sparse UMA histograms are made to record them. ModelTypes are buckets in these histograms. Beside the aforementioned information, a histogram records the amount of byte useage of ProgressMarkers in update messages. BUG=516455 Review URL: https://codereview.chromium.org/1273303002 Cr-Commit-Position: refs/heads/master@{#345461}
Diffstat (limited to 'sync/BUILD.gn')
-rw-r--r--sync/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/sync/BUILD.gn b/sync/BUILD.gn
index bf9e471..22845d7 100644
--- a/sync/BUILD.gn
+++ b/sync/BUILD.gn
@@ -384,6 +384,7 @@ source_set("sync_core") {
"syncable/write_transaction_info.h",
"util/cryptographer.cc",
"util/cryptographer.h",
+ "util/data_type_histogram.cc",
"util/data_type_histogram.h",
"util/encryptor.h",
"util/extensions_activity.cc",