summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_process_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 00:49:34 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 00:49:34 +0000
commitf1933791ead4e0c44066287396f0475e95a2e1e3 (patch)
treeb9c6ef28cfdf0ad22d19327f2cdc5463ba4cd782 /content/browser/plugin_process_host.cc
parent5d93738d664767ee0c7d3f0de8e5f68100de0b54 (diff)
downloadchromium_src-f1933791ead4e0c44066287396f0475e95a2e1e3.zip
chromium_src-f1933791ead4e0c44066287396f0475e95a2e1e3.tar.gz
chromium_src-f1933791ead4e0c44066287396f0475e95a2e1e3.tar.bz2
Get rid of the following dependencies from content:
chrome/common/chrome_constants.h chrome/common/chrome_paths.h chrome/common/logging_chrome.h BUG=76697 Review URL: http://codereview.chromium.org/7104144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88935 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.cc')
-rw-r--r--content/browser/plugin_process_host.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc
index c1b9111..d8344b5 100644
--- a/content/browser/plugin_process_host.cc
+++ b/content/browser/plugin_process_host.cc
@@ -19,8 +19,6 @@
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-#include "chrome/common/chrome_paths.h"
-#include "chrome/common/logging_chrome.h"
#include "content/browser/browser_thread.h"
#include "content/browser/content_browser_client.h"
#include "content/browser/resolve_proxy_msg_helper.h"
@@ -178,9 +176,6 @@ bool PluginProcessHost::Init(const webkit::npapi::WebPluginInfo& info,
cmd_line->AppendSwitchASCII(switches::kProcessType, switches::kPluginProcess);
cmd_line->AppendSwitchPath(switches::kPluginPath, info.path);
- if (logging::DialogsAreSuppressed())
- cmd_line->AppendSwitch(switches::kNoErrorDialogs);
-
// Propagate the following switches to the plugin command line (along with
// any associated values) if present in the browser command line
static const char* const kSwitchNames[] = {