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

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

Issue 11445002: Sync user's custom spellcheck dictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add browser tests for dictionary change notifications in settings Created 7 years, 12 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 (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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 break; \ 83 break; \
84 case ::syncer::HISTORY_DELETE_DIRECTIVES: \ 84 case ::syncer::HISTORY_DELETE_DIRECTIVES: \
85 PER_DATA_TYPE_MACRO("HistoryDeleteDirectives"); \ 85 PER_DATA_TYPE_MACRO("HistoryDeleteDirectives"); \
86 break; \ 86 break; \
87 case ::syncer::DEVICE_INFO: \ 87 case ::syncer::DEVICE_INFO: \
88 PER_DATA_TYPE_MACRO("DeviceInfo"); \ 88 PER_DATA_TYPE_MACRO("DeviceInfo"); \
89 break; \ 89 break; \
90 case ::syncer::EXPERIMENTS: \ 90 case ::syncer::EXPERIMENTS: \
91 PER_DATA_TYPE_MACRO("Experiments"); \ 91 PER_DATA_TYPE_MACRO("Experiments"); \
92 break; \ 92 break; \
93 case ::syncer::DICTIONARY: \
94 PER_DATA_TYPE_MACRO("Dictionary"); \
95 break; \
93 default: \ 96 default: \
94 NOTREACHED() << "Unknown datatype " \ 97 NOTREACHED() << "Unknown datatype " \
95 << ::syncer::ModelTypeToString(datatype); \ 98 << ::syncer::ModelTypeToString(datatype); \
96 } \ 99 } \
97 } while (0) 100 } while (0)
98 101
99 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_ 102 #endif // SYNC_UTIL_DATA_TYPE_HISTOGRAM_H_
OLDNEW
« sync/protocol/dictionary_specifics.proto ('K') | « sync/syncable/nigori_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698