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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/media_android.cc ('k') | media/media.gyp » ('j') | media/media.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« 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