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

Side by Side Diff: media/base/media.h

Issue 10837118: Dead code elimination: scythe.chrome_functions:segment.path %media% edition, round 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
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 // Contains code that should be used for initializing, or querying the state 5 // Contains code that should be used for initializing, or querying the state
6 // of the media library as a whole. 6 // of the media library as a whole.
7 7
8 #ifndef MEDIA_BASE_MEDIA_H_ 8 #ifndef MEDIA_BASE_MEDIA_H_
9 #define MEDIA_BASE_MEDIA_H_ 9 #define MEDIA_BASE_MEDIA_H_
10 10
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
(...skipping 17 matching lines...) Expand all
29 29
30 // Helper function for unit tests to avoid boiler plate code everywhere. This 30 // Helper function for unit tests to avoid boiler plate code everywhere. This
31 // function will crash if it fails to load the media library. This ensures tests 31 // function will crash if it fails to load the media library. This ensures tests
32 // fail if the media library is not available. 32 // fail if the media library is not available.
33 MEDIA_EXPORT void InitializeMediaLibraryForTesting(); 33 MEDIA_EXPORT void InitializeMediaLibraryForTesting();
34 34
35 // Use this if you need to check whether the media library is initialized 35 // Use this if you need to check whether the media library is initialized
36 // for the this process, without actually trying to initialize it. 36 // for the this process, without actually trying to initialize it.
37 MEDIA_EXPORT bool IsMediaLibraryInitialized(); 37 MEDIA_EXPORT bool IsMediaLibraryInitialized();
38 38
39 // Attempts to initialize OpenMAX library.
40 //
41 // Returns true if OpenMAX was successfully initialized and loaded.
42 bool InitializeOpenMaxLibrary(const FilePath& module_dir);
43
44 } // namespace media 39 } // namespace media
45 40
46 #endif // MEDIA_BASE_MEDIA_H_ 41 #endif // MEDIA_BASE_MEDIA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698