Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
|
scherkus (not reviewing)
2012/09/05 15:39:22
where did the (c) go? :)
blundell
2012/09/05 15:54:49
The new Chromium convention as of quite recently i
| |
| 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 #include "media/base/media.h" | 5 #include "media/base/media.h" |
| 6 | |
| 6 #include "base/logging.h" | 7 #include "base/logging.h" |
| 7 | 8 |
| 9 // This file is intended for platforms that don't need to load any media | |
| 10 // libraries (e.g., Android and iOS). | |
| 8 namespace media { | 11 namespace media { |
| 9 | 12 |
| 10 bool InitializeMediaLibrary(const FilePath& module_dir) { | 13 bool InitializeMediaLibrary(const FilePath& module_dir) { |
| 11 // Android doesn't require any additional media libraries. | |
| 12 return true; | 14 return true; |
| 13 } | 15 } |
| 14 | 16 |
| 15 void InitializeMediaLibraryForTesting() {} | 17 void InitializeMediaLibraryForTesting() { |
| 18 } | |
| 16 | 19 |
| 17 bool IsMediaLibraryInitialized() { | 20 bool IsMediaLibraryInitialized() { |
| 18 return true; | 21 return true; |
| 19 } | 22 } |
| 20 | 23 |
| 21 } // namespace media | 24 } // namespace media |
| OLD | NEW |