OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 MEDIA_BASE_MEDIA_RESOURCES_H_ | 5 #ifndef MEDIA_BASE_MEDIA_LOCALIZED_STRINGS_H_ |
6 #define MEDIA_BASE_MEDIA_RESOURCES_H_ | 6 #define MEDIA_BASE_MEDIA_LOCALIZED_STRINGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
13 #include "media/media_features.h" | 13 #include "media/media_features.h" |
14 | 14 |
15 namespace media { | 15 namespace media { |
16 | 16 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 // Returns a resource string corresponding to |message_id|. See l10n_util.h. | 49 // Returns a resource string corresponding to |message_id|. See l10n_util.h. |
50 // Returns an empty string if the LocalizedStringProvider has not been | 50 // Returns an empty string if the LocalizedStringProvider has not been |
51 // initialized or if the ID is unrecognized. | 51 // initialized or if the ID is unrecognized. |
52 MEDIA_EXPORT std::string GetLocalizedStringUTF8(MessageId message_id); | 52 MEDIA_EXPORT std::string GetLocalizedStringUTF8(MessageId message_id); |
53 base::string16 GetLocalizedStringUTF16(MessageId message_id); | 53 base::string16 GetLocalizedStringUTF16(MessageId message_id); |
54 #endif | 54 #endif |
55 | 55 |
56 } // namespace media | 56 } // namespace media |
57 | 57 |
58 #endif // MEDIA_BASE_MEDIA_RESOURCES_H_ | 58 #endif // MEDIA_BASE_MEDIA_LOCALIZED_STRINGS_H_ |
OLD | NEW |