Chromium Code Reviews| Index: media/base/media_stub.cc |
| diff --git a/media/base/media_android.cc b/media/base/media_stub.cc |
| similarity index 60% |
| rename from media/base/media_android.cc |
| rename to media/base/media_stub.cc |
| index fcfa90a57435ed1b12e03dbb4282f0eae2f04e96..a42bbf9dd7d0a01fec396e8c0188a044ec56c850 100644 |
| --- a/media/base/media_android.cc |
| +++ b/media/base/media_stub.cc |
| @@ -1,18 +1,21 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// 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
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "media/base/media.h" |
| + |
| #include "base/logging.h" |
| +// This file is intended for platforms that don't need to load any media |
| +// libraries (e.g., Android and iOS). |
| namespace media { |
| bool InitializeMediaLibrary(const FilePath& module_dir) { |
| - // Android doesn't require any additional media libraries. |
| return true; |
| } |
| -void InitializeMediaLibraryForTesting() {} |
| +void InitializeMediaLibraryForTesting() { |
| +} |
| bool IsMediaLibraryInitialized() { |
| return true; |