summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_process.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 00:18:06 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 00:18:06 +0000
commit88a1fb47ae5abed1c518cdb63836199431ac5af7 (patch)
tree6bd2be5124623c48546122c80b94a3b203352fe1 /chrome/renderer/render_process.cc
parent226183d33f7e52d01d38cad1cfb2e70b938ae74e (diff)
downloadchromium_src-88a1fb47ae5abed1c518cdb63836199431ac5af7.zip
chromium_src-88a1fb47ae5abed1c518cdb63836199431ac5af7.tar.gz
chromium_src-88a1fb47ae5abed1c518cdb63836199431ac5af7.tar.bz2
Get rid of the gears in renderer process code. This allows me to do some cleanup in how resource dispatching happens in a future cl.
Review URL: http://codereview.chromium.org/42158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_process.cc')
-rw-r--r--chrome/renderer/render_process.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/renderer/render_process.cc b/chrome/renderer/render_process.cc
index b93adf59..e8af233 100644
--- a/chrome/renderer/render_process.cc
+++ b/chrome/renderer/render_process.cc
@@ -106,7 +106,6 @@ RenderProcess::~RenderProcess() {
void RenderProcess::Init() {
in_process_plugins_ = InProcessPlugins();
- in_process_gears_ = false;
for (size_t i = 0; i < arraysize(shared_mem_cache_); ++i)
shared_mem_cache_[i] = NULL;
@@ -141,20 +140,6 @@ void RenderProcess::Init() {
StatisticsRecorder::set_dump_on_exit(true);
}
- if (command_line.HasSwitch(switches::kGearsInRenderer)) {
-#if defined(OS_WIN)
- in_process_gears_ = true;
- // Load gears.dll on startup so we can access it before the sandbox
- // blocks us.
- std::wstring path;
- if (PathService::Get(chrome::FILE_GEARS_PLUGIN, &path))
- LoadLibrary(path.c_str());
-#else
- // TODO(port) Need to handle loading gears on non-Windows platforms
- NOTIMPLEMENTED();
-#endif
- }
-
if (command_line.HasSwitch(switches::kEnableVideo) && LoadFFmpeg()) {
webkit_glue::SetMediaPlayerAvailable(true);
}