Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: media/base/localized_strings.h

Issue 2656523002: Rename media_resources -> localized_strings (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/fake_media_resources.cc ('k') | media/base/localized_strings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « media/base/fake_media_resources.cc ('k') | media/base/localized_strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698