| 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 <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
| 13 | 15 |
| 14 namespace base { | 16 namespace base { |
| 15 class DictionaryValue; | 17 class DictionaryValue; |
| 16 class Value; | 18 class Value; |
| 17 } | 19 } |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 166 |
| 165 // Returns message map that matches given extension_id, or NULL. | 167 // Returns message map that matches given extension_id, or NULL. |
| 166 L10nMessagesMap* GetL10nMessagesMap(const std::string& extension_id); | 168 L10nMessagesMap* GetL10nMessagesMap(const std::string& extension_id); |
| 167 | 169 |
| 168 // Erases the L10nMessagesMap for the given |extension_id|. | 170 // Erases the L10nMessagesMap for the given |extension_id|. |
| 169 void EraseL10nMessagesMap(const std::string& extension_id); | 171 void EraseL10nMessagesMap(const std::string& extension_id); |
| 170 | 172 |
| 171 } // namespace extensions | 173 } // namespace extensions |
| 172 | 174 |
| 173 #endif // EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ | 175 #endif // EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_ |
| OLD | NEW |