Home
last modified time | relevance | path

Searched refs:kTypeNames (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pref_provider.cc60 const char* kTypeNames[] = { variable
72 COMPILE_ASSERT(arraysize(kTypeNames) == CONTENT_SETTINGS_NUM_TYPES,
79 if (kTypeNames[i] != NULL) { in SetDefaultContentSettings()
80 default_settings->SetInteger(kTypeNames[i], in SetDefaultContentSettings()
100 DCHECK_EQ(arraysize(kTypeNames), in PrefDefaultProvider()
133 DCHECK(kTypeNames[content_type] != NULL); // Don't call this for Geolocation. in UpdateDefaultSetting()
146 std::string dictionary_path(kTypeNames[content_type]); in UpdateDefaultSetting()
263 for (size_t type = 0; type < arraysize(kTypeNames); ++type) { in GetSettingsFromDictionary()
264 if ((kTypeNames[type] != NULL) && (kTypeNames[type] == content_type)) { in GetSettingsFromDictionary()
390 DCHECK(kTypeNames[content_type] != NULL); // Don't call this for Geolocation. in SetContentSetting()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc85 const TypeNameMap kTypeNames = MakeTypeNameTable(); variable
1009 TypeNameMap::const_iterator iter = kTypeNames.find(input_->current().text); in ParseType()
1010 if (iter != kTypeNames.end()) { in ParseType()
1022 TypeNameMap::const_iterator iter = kTypeNames.find(input_->current().text); in ParseUserDefinedType()
1023 if (iter != kTypeNames.end()) { in ParseUserDefinedType()