• Home
  • Raw
  • Download

Lines Matching refs:manifest

40 std::string GetDefaultLocaleFromManifest(const DictionaryValue& manifest,  in GetDefaultLocaleFromManifest()  argument
43 if (manifest.GetString(keys::kDefaultLocale, &default_locale)) in GetDefaultLocaleFromManifest()
52 DictionaryValue* manifest = info.extension_manifest.get(); in ShouldRelocalizeManifest() local
53 if (!manifest) in ShouldRelocalizeManifest()
56 if (!manifest->HasKey(keys::kDefaultLocale)) in ShouldRelocalizeManifest()
60 manifest->GetString(keys::kCurrentLocale, &manifest_current_locale); in ShouldRelocalizeManifest()
67 DictionaryValue* manifest, in LocalizeManifestValue() argument
70 if (!manifest->GetString(key, &result)) in LocalizeManifestValue()
76 manifest->SetString(key, result); in LocalizeManifestValue()
81 DictionaryValue* manifest, in LocalizeManifest() argument
85 if (!manifest->GetString(keys::kName, &result)) { in LocalizeManifest()
89 if (!LocalizeManifestValue(keys::kName, messages, manifest, error)) { in LocalizeManifest()
94 if (!LocalizeManifestValue(keys::kDescription, messages, manifest, error)) in LocalizeManifest()
101 if (!LocalizeManifestValue(key, messages, manifest, error)) in LocalizeManifest()
108 if (!LocalizeManifestValue(key, messages, manifest, error)) in LocalizeManifest()
112 if (!LocalizeManifestValue(keys::kOmniboxKeyword, messages, manifest, error)) in LocalizeManifest()
116 if (manifest->GetList(keys::kFileBrowserHandlers, &file_handlers)) { in LocalizeManifest()
131 manifest->SetString(keys::kCurrentLocale, CurrentLocaleOrDefault()); in LocalizeManifest()
136 DictionaryValue* manifest, in LocalizeExtension() argument
138 DCHECK(manifest); in LocalizeExtension()
140 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); in LocalizeExtension()
150 !LocalizeManifest(*message_bundle, manifest, error)) in LocalizeExtension()