OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/strings/utf_string_conversions.h" | |
6 #include "media/base/media_resources.h" | |
7 | |
8 namespace media { | |
9 | |
10 base::string16 FakeLocalizedStringProvider(MessageId message_id) { | |
11 if (message_id == DEFAULT_AUDIO_DEVICE_NAME) | |
12 return base::ASCIIToUTF16("Default"); | |
13 | |
14 return base::ASCIIToUTF16("FakeString"); | |
15 } | |
16 | |
17 void SetUpFakeMediaResources() { | |
18 SetLocalizedStringProvider(FakeLocalizedStringProvider); | |
19 } | |
20 | |
21 } // namespace media | |
OLD | NEW |