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

Side by Side Diff: media/base/media_stub.cc

Issue 10919092: Build supported media targets on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit Created 8 years, 3 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
OLDNEW
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
OLDNEW
« no previous file with comments | « media/base/media_android.cc ('k') | media/media.gyp » ('j') | media/media.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698