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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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/media_log_event.h ('k') | media/base/media_resources.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_RESOURCES_H_
6 #define MEDIA_BASE_MEDIA_RESOURCES_H_ 6 #define MEDIA_BASE_MEDIA_RESOURCES_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 "media/base/media_export.h" 12 #include "media/base/media_export.h"
12 13
13 namespace media { 14 namespace media {
14 15
15 // The media layer can't access Chrome's resource bundle directly. This facility 16 // The media layer can't access Chrome's resource bundle directly. This facility
16 // allows clients to provide indirect access. 17 // allows clients to provide indirect access.
17 18
18 // IDs that will get mapped to corresponding entries with IDS_ prefixes in 19 // IDs that will get mapped to corresponding entries with IDS_ prefixes in
19 // chrome/app/generated_resources.grd. 20 // chrome/app/generated_resources.grd.
20 enum MessageId { 21 enum MessageId {
(...skipping 22 matching lines...) Expand all
43 // Returns a resource string corresponding to |message_id|. See l10n_util.h. 44 // Returns a resource string corresponding to |message_id|. See l10n_util.h.
44 // Returns an empty string if the LocalizedStringProvider has not been 45 // Returns an empty string if the LocalizedStringProvider has not been
45 // initialized or if the ID is unrecognized. 46 // initialized or if the ID is unrecognized.
46 std::string GetLocalizedStringUTF8(MessageId message_id); 47 std::string GetLocalizedStringUTF8(MessageId message_id);
47 base::string16 GetLocalizedStringUTF16(MessageId message_id); 48 base::string16 GetLocalizedStringUTF16(MessageId message_id);
48 #endif 49 #endif
49 50
50 } // namespace media 51 } // namespace media
51 52
52 #endif // MEDIA_BASE_MEDIA_RESOURCES_H_ 53 #endif // MEDIA_BASE_MEDIA_RESOURCES_H_
OLDNEW
« no previous file with comments | « media/base/media_log_event.h ('k') | media/base/media_resources.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698