diff options
Diffstat (limited to 'chrome/default_plugin/plugin_installer_base.cc')
-rw-r--r-- | chrome/default_plugin/plugin_installer_base.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/chrome/default_plugin/plugin_installer_base.cc b/chrome/default_plugin/plugin_installer_base.cc deleted file mode 100644 index 8326bcb..0000000 --- a/chrome/default_plugin/plugin_installer_base.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "chrome/default_plugin/plugin_installer_base.h" - -#include "base/string_number_conversions.h" -#include "base/string_util.h" -#include "content/public/common/content_constants.h" - -PluginInstallerBase::PluginInstallerBase() - : renderer_process_id_(0), - render_view_id_(0) { -} - -PluginInstallerBase::~PluginInstallerBase() { -} - -void PluginInstallerBase::SetRoutingIds(int16 argc, - char* argn[], - char* argv[]) { - for (int16_t index = 0; index < argc; ++index) { - if (!base::strncasecmp(argn[index], - content::kDefaultPluginRenderProcessId, - strlen(argn[index]))) { - base::StringToInt(argv[index], &renderer_process_id_); - } else if (!base::strncasecmp(argn[index], - content::kDefaultPluginRenderViewId, - strlen(argn[index]))) { - base::StringToInt(argv[index], &render_view_id_); - } - } -} |