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

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

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) 2012 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 #include "media/base/media.h" 5 #include "media/base/media.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #if defined(_WIN32_WINNT_WIN8) 8 #if defined(_WIN32_WINNT_WIN8)
9 // The Windows 8 SDK defines FACILITY_VISUALCPP in winerror.h. 9 // The Windows 8 SDK defines FACILITY_VISUALCPP in winerror.h.
10 #undef FACILITY_VISUALCPP 10 #undef FACILITY_VISUALCPP
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 void InitializeMediaLibraryForTesting() { 117 void InitializeMediaLibraryForTesting() {
118 FilePath file_path; 118 FilePath file_path;
119 CHECK(PathService::Get(base::DIR_EXE, &file_path)); 119 CHECK(PathService::Get(base::DIR_EXE, &file_path));
120 CHECK(InitializeMediaLibrary(file_path)); 120 CHECK(InitializeMediaLibrary(file_path));
121 } 121 }
122 122
123 bool IsMediaLibraryInitialized() { 123 bool IsMediaLibraryInitialized() {
124 return g_media_library_is_initialized; 124 return g_media_library_is_initialized;
125 } 125 }
126 126
127 bool InitializeOpenMaxLibrary(const FilePath& module_dir) {
128 NOTIMPLEMENTED() << "OpenMAX is not used in Windows.";
129 return false;
130 }
131
132 } // namespace media 127 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698