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

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

Issue 15177003: Add Sync data type for managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « sync/tools/testserver/chromiumsync.py ('k') | no next file » | 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.h" 9 #include "base/time.h"
10 #include "sync/internal_api/public/base/model_type.h" 10 #include "sync/internal_api/public/base/model_type.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 break; \ 101 break; \
102 case ::syncer::FAVICON_IMAGES: \ 102 case ::syncer::FAVICON_IMAGES: \
103 PER_DATA_TYPE_MACRO("FaviconImages"); \ 103 PER_DATA_TYPE_MACRO("FaviconImages"); \
104 break; \ 104 break; \
105 case ::syncer::FAVICON_TRACKING: \ 105 case ::syncer::FAVICON_TRACKING: \
106 PER_DATA_TYPE_MACRO("FaviconTracking"); \ 106 PER_DATA_TYPE_MACRO("FaviconTracking"); \
107 break; \ 107 break; \
108 case ::syncer::MANAGED_USER_SETTINGS: \ 108 case ::syncer::MANAGED_USER_SETTINGS: \
109 PER_DATA_TYPE_MACRO("ManagedUserSetting"); \ 109 PER_DATA_TYPE_MACRO("ManagedUserSetting"); \
110 break; \ 110 break; \
111 case ::syncer::PROXY_TABS :\ 111 case ::syncer::MANAGED_USERS: \
112 PER_DATA_TYPE_MACRO("ManagedUser"); \
113 break; \
114 case ::syncer::PROXY_TABS: \
112 PER_DATA_TYPE_MACRO("Tabs"); \ 115 PER_DATA_TYPE_MACRO("Tabs"); \
113 break; \ 116 break; \
114 default: \ 117 default: \
115 NOTREACHED() << "Unknown datatype " \ 118 NOTREACHED() << "Unknown datatype " \
116 << ::syncer::ModelTypeToString(datatype); \ 119 << ::syncer::ModelTypeToString(datatype); \
117 } \ 120 } \
118 } while (0) 121 } while (0)
119 122
120 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_ 123 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « sync/tools/testserver/chromiumsync.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698