MessageBundle 72 chrome/browser/extensions/api/execute_code_function.cc (data.find(MessageBundle::kMessageBegin) != std::string::npos)) { MessageBundle 79 chrome/browser/extensions/api/execute_code_function.cc MessageBundle::ReplaceMessagesWithExternalDictionary(*localization_messages, MessageBundle 216 chrome/browser/extensions/user_script_master.cc MessageBundle::ReplaceMessagesWithExternalDictionary( MessageBundle 342 chrome/browser/renderer_host/chrome_render_message_filter.cc scoped_ptr<extensions::MessageBundle::SubstitutionMap> dictionary_map( MessageBundle 325 chrome/common/extensions/extension_file_util.cc extensions::MessageBundle* LoadMessageBundle( MessageBundle 346 chrome/common/extensions/extension_file_util.cc extensions::MessageBundle* message_bundle = MessageBundle 365 chrome/common/extensions/extension_file_util.cc scoped_ptr<extensions::MessageBundle> bundle( MessageBundle 375 chrome/common/extensions/extension_file_util.cc std::make_pair(extensions::MessageBundle::kExtensionIdKey, extension_id)); MessageBundle 25 chrome/common/extensions/extension_file_util.h class MessageBundle; MessageBundle 99 chrome/common/extensions/extension_file_util.h extensions::MessageBundle* LoadMessageBundle( MessageBundle 106 chrome/common/extensions/extension_file_util.h extensions::MessageBundle::SubstitutionMap* LoadMessageBundleSubstitutionMap( MessageBundle 63 chrome/common/extensions/extension_l10n_util.cc const extensions::MessageBundle& messages, MessageBundle 79 chrome/common/extensions/extension_l10n_util.cc const extensions::MessageBundle& messages, MessageBundle 134 chrome/common/extensions/extension_l10n_util.cc bool LocalizeManifest(const extensions::MessageBundle& messages, MessageBundle 281 chrome/common/extensions/extension_l10n_util.cc scoped_ptr<extensions::MessageBundle> message_bundle( MessageBundle 387 chrome/common/extensions/extension_l10n_util.cc extensions::MessageBundle* LoadMessageCatalogs( MessageBundle 413 chrome/common/extensions/extension_l10n_util.cc return extensions::MessageBundle::Create(catalogs, error); MessageBundle 21 chrome/common/extensions/extension_l10n_util.h class MessageBundle; MessageBundle 42 chrome/common/extensions/extension_l10n_util.h bool LocalizeManifest(const extensions::MessageBundle& messages, MessageBundle 93 chrome/common/extensions/extension_l10n_util.h extensions::MessageBundle* LoadMessageCatalogs( MessageBundle 25 chrome/common/extensions/extension_l10n_util_unittest.cc using extensions::MessageBundle; MessageBundle 151 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> bundle(extension_l10n_util::LoadMessageCatalogs( MessageBundle 237 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> message_bundle( MessageBundle 248 chrome/common/extensions/extension_l10n_util_unittest.cc MessageBundle* CreateManifestBundle() { MessageBundle 301 chrome/common/extensions/extension_l10n_util_unittest.cc MessageBundle* bundle = MessageBundle::Create(catalogs, &error); MessageBundle 311 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 322 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 340 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 359 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 376 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 393 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 418 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 443 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 473 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 510 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 539 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 556 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 587 chrome/common/extensions/extension_l10n_util_unittest.cc scoped_ptr<MessageBundle> messages(CreateManifestBundle()); MessageBundle 28 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kContentKey = "content"; MessageBundle 29 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kMessageKey = "message"; MessageBundle 30 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kPlaceholdersKey = "placeholders"; MessageBundle 32 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kPlaceholderBegin = "$"; MessageBundle 33 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kPlaceholderEnd = "$"; MessageBundle 34 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kMessageBegin = "__MSG_"; MessageBundle 35 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kMessageEnd = "__"; MessageBundle 38 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kUILocaleKey = "@@ui_locale"; MessageBundle 39 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kBidiDirectionKey = "@@bidi_dir"; MessageBundle 40 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kBidiReversedDirectionKey = MessageBundle 42 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kBidiStartEdgeKey = "@@bidi_start_edge"; MessageBundle 43 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kBidiEndEdgeKey = "@@bidi_end_edge"; MessageBundle 44 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kExtensionIdKey = "@@extension_id"; MessageBundle 47 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kBidiLeftEdgeValue = "left"; MessageBundle 48 chrome/common/extensions/message_bundle.cc const char* MessageBundle::kBidiRightEdgeValue = "right"; MessageBundle 61 chrome/common/extensions/message_bundle.cc MessageBundle* MessageBundle::Create(const CatalogVector& locale_catalogs, MessageBundle 63 chrome/common/extensions/message_bundle.cc scoped_ptr<MessageBundle> message_bundle(new MessageBundle); MessageBundle 70 chrome/common/extensions/message_bundle.cc bool MessageBundle::Init(const CatalogVector& locale_catalogs, MessageBundle 97 chrome/common/extensions/message_bundle.cc bool MessageBundle::AppendReservedMessagesForLocale( MessageBundle 132 chrome/common/extensions/message_bundle.cc bool MessageBundle::GetMessageValue(const std::string& key, MessageBundle 159 chrome/common/extensions/message_bundle.cc MessageBundle::MessageBundle() { MessageBundle 162 chrome/common/extensions/message_bundle.cc bool MessageBundle::GetPlaceholders(const base::DictionaryValue& name_tree, MessageBundle 200 chrome/common/extensions/message_bundle.cc bool MessageBundle::ReplacePlaceholders(const SubstitutionMap& placeholders, MessageBundle 210 chrome/common/extensions/message_bundle.cc bool MessageBundle::ReplaceMessages(std::string* text, MessageBundle 215 chrome/common/extensions/message_bundle.cc MessageBundle::~MessageBundle() { MessageBundle 219 chrome/common/extensions/message_bundle.cc bool MessageBundle::ReplaceMessagesWithExternalDictionary( MessageBundle 225 chrome/common/extensions/message_bundle.cc bool MessageBundle::ReplaceVariables(const SubstitutionMap& variables, MessageBundle 277 chrome/common/extensions/message_bundle.cc bool MessageBundle::IsValidName(const std::string& name) { MessageBundle 293 chrome/common/extensions/message_bundle.cc std::string MessageBundle::GetL10nMessage(const std::string& name) const { MessageBundle 298 chrome/common/extensions/message_bundle.cc std::string MessageBundle::GetL10nMessage(const std::string& name, MessageBundle 23 chrome/common/extensions/message_bundle.h class MessageBundle { MessageBundle 61 chrome/common/extensions/message_bundle.h static MessageBundle* Create(const CatalogVector& locale_catalogs, MessageBundle 106 chrome/common/extensions/message_bundle.h ~MessageBundle(); MessageBundle 113 chrome/common/extensions/message_bundle.h MessageBundle(); MessageBundle 49 chrome/common/extensions/message_bundle_unittest.cc content_tree->SetString(MessageBundle::kContentKey, content); MessageBundle 58 chrome/common/extensions/message_bundle_unittest.cc SetDictionary(MessageBundle::kPlaceholdersKey, MessageBundle 70 chrome/common/extensions/message_bundle_unittest.cc message_tree->SetString(MessageBundle::kMessageKey, message); MessageBundle 129 chrome/common/extensions/message_bundle_unittest.cc void CheckReservedMessages(MessageBundle* handler) { MessageBundle 132 chrome/common/extensions/message_bundle_unittest.cc handler->GetL10nMessage(MessageBundle::kUILocaleKey)); MessageBundle 140 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiDirectionKey)); MessageBundle 151 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 160 chrome/common/extensions/message_bundle_unittest.cc scoped_ptr<MessageBundle> handler_; MessageBundle 228 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 233 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 238 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 243 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 248 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 253 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 258 chrome/common/extensions/message_bundle_unittest.cc handler_.reset(MessageBundle::Create(catalogs_, &error)); MessageBundle 268 chrome/common/extensions/message_bundle_unittest.cc CreateMessageTree(MessageBundle::kUILocaleKey, "x", false, dict); MessageBundle 274 chrome/common/extensions/message_bundle_unittest.cc errors::kReservedMessageFound, MessageBundle::kUILocaleKey); MessageBundle 286 chrome/common/extensions/message_bundle_unittest.cc handler_->GetL10nMessage(MessageBundle::kUILocaleKey)); MessageBundle 288 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiDirectionKey)); MessageBundle 290 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiReversedDirectionKey)); MessageBundle 292 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiStartEdgeKey)); MessageBundle 294 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiEndEdgeKey)); MessageBundle 305 chrome/common/extensions/message_bundle_unittest.cc handler_->GetL10nMessage(MessageBundle::kUILocaleKey)); MessageBundle 307 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiDirectionKey)); MessageBundle 309 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiReversedDirectionKey)); MessageBundle 311 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiStartEdgeKey)); MessageBundle 313 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::kBidiEndEdgeKey)); MessageBundle 317 chrome/common/extensions/message_bundle_unittest.cc EXPECT_TRUE(MessageBundle::IsValidName(std::string("a__BV_9"))); MessageBundle 318 chrome/common/extensions/message_bundle_unittest.cc EXPECT_TRUE(MessageBundle::IsValidName(std::string("@@a__BV_9"))); MessageBundle 319 chrome/common/extensions/message_bundle_unittest.cc EXPECT_FALSE(MessageBundle::IsValidName(std::string("$a__BV_9$"))); MessageBundle 320 chrome/common/extensions/message_bundle_unittest.cc EXPECT_FALSE(MessageBundle::IsValidName(std::string("a-BV-9"))); MessageBundle 321 chrome/common/extensions/message_bundle_unittest.cc EXPECT_FALSE(MessageBundle::IsValidName(std::string("a#BV!9"))); MessageBundle 322 chrome/common/extensions/message_bundle_unittest.cc EXPECT_FALSE(MessageBundle::IsValidName(std::string("a<b"))); MessageBundle 334 chrome/common/extensions/message_bundle_unittest.cc TEST(MessageBundle, ReplaceMessagesInText) { MessageBundle 335 chrome/common/extensions/message_bundle_unittest.cc const char* kMessageBegin = MessageBundle::kMessageBegin; MessageBundle 336 chrome/common/extensions/message_bundle_unittest.cc const char* kMessageEnd = MessageBundle::kMessageEnd; MessageBundle 337 chrome/common/extensions/message_bundle_unittest.cc const char* kPlaceholderBegin = MessageBundle::kPlaceholderBegin; MessageBundle 338 chrome/common/extensions/message_bundle_unittest.cc const char* kPlaceholderEnd = MessageBundle::kPlaceholderEnd; MessageBundle 381 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::SubstitutionMap messages; MessageBundle 392 chrome/common/extensions/message_bundle_unittest.cc MessageBundle::ReplaceVariables(messages, MessageBundle 128 chrome/renderer/extensions/extension_localization_peer.cc if (extensions::MessageBundle::ReplaceMessagesWithExternalDictionary( MessageBundle 66 chrome/renderer/extensions/i18n_custom_bindings.cc MessageBundle::GetL10nMessage(message_name, *l10n_messages);