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

Side by Side Diff: sync/util/data_type_histogram.h

Issue 674633002: sync: add WIFI_CREDENTIALS protobuf, ModelType, and preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: fix error in get commit message Created 6 years, 1 month 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
« no previous file with comments | « sync/tools/testserver/chromiumsync.py ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_ 5 #ifndef SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_
6 #define SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_ 6 #define SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_
7 7
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "sync/internal_api/public/base/model_type.h" 10 #include "sync/internal_api/public/base/model_type.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 break; \ 116 break; \
117 case ::syncer::SUPERVISED_USERS: \ 117 case ::syncer::SUPERVISED_USERS: \
118 PER_DATA_TYPE_MACRO("ManagedUser"); \ 118 PER_DATA_TYPE_MACRO("ManagedUser"); \
119 break; \ 119 break; \
120 case ::syncer::SUPERVISED_USER_SHARED_SETTINGS: \ 120 case ::syncer::SUPERVISED_USER_SHARED_SETTINGS: \
121 PER_DATA_TYPE_MACRO("ManagedUserSharedSetting"); \ 121 PER_DATA_TYPE_MACRO("ManagedUserSharedSetting"); \
122 break; \ 122 break; \
123 case ::syncer::ARTICLES: \ 123 case ::syncer::ARTICLES: \
124 PER_DATA_TYPE_MACRO("Article"); \ 124 PER_DATA_TYPE_MACRO("Article"); \
125 break; \ 125 break; \
126 case ::syncer::WIFI_CREDENTIALS: \
127 PER_DATA_TYPE_MACRO("WifiCredentials"); \
128 break; \
126 case ::syncer::PROXY_TABS: \ 129 case ::syncer::PROXY_TABS: \
127 PER_DATA_TYPE_MACRO("Tabs"); \ 130 PER_DATA_TYPE_MACRO("Tabs"); \
128 break; \ 131 break; \
129 default: \ 132 default: \
130 NOTREACHED() << "Unknown datatype " \ 133 NOTREACHED() << "Unknown datatype " \
131 << ::syncer::ModelTypeToString(datatype); \ 134 << ::syncer::ModelTypeToString(datatype); \
132 } \ 135 } \
133 } while (0) 136 } while (0)
134 137
135 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_ 138 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « sync/tools/testserver/chromiumsync.py ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698