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

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

Issue 10855037: [Sync] Add history delete directive type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 8 years, 2 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/util/cryptographer_unittest.cc ('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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 break; \ 74 break; \
75 case ::syncer::APP_SETTINGS: \ 75 case ::syncer::APP_SETTINGS: \
76 PER_DATA_TYPE_MACRO("AppSettings"); \ 76 PER_DATA_TYPE_MACRO("AppSettings"); \
77 break; \ 77 break; \
78 case ::syncer::EXTENSION_SETTINGS: \ 78 case ::syncer::EXTENSION_SETTINGS: \
79 PER_DATA_TYPE_MACRO("ExtensionSettings"); \ 79 PER_DATA_TYPE_MACRO("ExtensionSettings"); \
80 break; \ 80 break; \
81 case ::syncer::APP_NOTIFICATIONS: \ 81 case ::syncer::APP_NOTIFICATIONS: \
82 PER_DATA_TYPE_MACRO("AppNotifications"); \ 82 PER_DATA_TYPE_MACRO("AppNotifications"); \
83 break; \ 83 break; \
84 case ::syncer::HISTORY_DELETE_DIRECTIVES: \
85 PER_DATA_TYPE_MACRO("HistoryDeleteDirectives"); \
86 break; \
84 case ::syncer::DEVICE_INFO: \ 87 case ::syncer::DEVICE_INFO: \
85 PER_DATA_TYPE_MACRO("DeviceInfo"); \ 88 PER_DATA_TYPE_MACRO("DeviceInfo"); \
86 break; \ 89 break; \
87 default: \ 90 default: \
88 NOTREACHED() << "Unknown datatype " \ 91 NOTREACHED() << "Unknown datatype " \
89 << ::syncer::ModelTypeToString(datatype); \ 92 << ::syncer::ModelTypeToString(datatype); \
90 } \ 93 } \
91 } while (0) 94 } while (0)
92 95
93 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_ 96 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « sync/util/cryptographer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698