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

Unified Diff: content/common/content_paths.cc

Issue 9316077: Enable audio/video tag in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content_unittests Created 8 years, 9 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 | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_paths.cc
diff --git a/content/common/content_paths.cc b/content/common/content_paths.cc
index 305af335ce92a44a1af53c08c874537869cd90cc..19084c56e8b09d0bc75fb877a83f98cd9fa91e91 100644
--- a/content/common/content_paths.cc
+++ b/content/common/content_paths.cc
@@ -5,6 +5,7 @@
#include "content/public/common/content_paths.h"
#include "base/file_util.h"
+#include "base/mac/bundle_locations.h"
#include "base/path_service.h"
namespace content {
@@ -27,6 +28,15 @@ bool PathProvider(int key, FilePath* result) {
return true;
break;
}
+ case DIR_MEDIA_LIBS: {
+#if defined(OS_MACOSX)
+ *result = base::mac::FrameworkBundlePath();
+ *result = result->Append("Libraries");
+ return true;
+#else
+ return PathService::Get(base::DIR_MODULE, result);
+#endif
+ }
default:
return false;
}
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698