| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 5 #ifndef EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 
| 6 #define EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 6 #define EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 
| 7 | 7 | 
| 8 #include <map> | 8 #include <map> | 
| 9 #include <string> | 9 #include <string> | 
| 10 #include <vector> | 10 #include <vector> | 
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 161 | 161 | 
| 162 // Returns the extension_id to messages map. | 162 // Returns the extension_id to messages map. | 
| 163 ExtensionToL10nMessagesMap* GetExtensionToL10nMessagesMap(); | 163 ExtensionToL10nMessagesMap* GetExtensionToL10nMessagesMap(); | 
| 164 | 164 | 
| 165 // Returns message map that matches given extension_id, or NULL. | 165 // Returns message map that matches given extension_id, or NULL. | 
| 166 L10nMessagesMap* GetL10nMessagesMap(const std::string& extension_id); | 166 L10nMessagesMap* GetL10nMessagesMap(const std::string& extension_id); | 
| 167 | 167 | 
| 168 // Erases the L10nMessagesMap for the given |extension_id|. | 168 // Erases the L10nMessagesMap for the given |extension_id|. | 
| 169 void EraseL10nMessagesMap(const std::string& extension_id); | 169 void EraseL10nMessagesMap(const std::string& extension_id); | 
| 170 | 170 | 
| 171 }  // namsepace extensions | 171 }  // namespace extensions | 
| 172 | 172 | 
| 173 #endif  // EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 173 #endif  // EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 
| OLD | NEW | 
|---|