summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 16:14:09 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 16:14:09 +0000
commit979c7e4ba84320a00faf1fa7ade83abcfe45b3e6 (patch)
tree271e32b6a073fb03b438273f328c2e7a032c5bbf /chrome/common
parent2aa9d6db185e4f21c46b04ed6f4ea90c29919fa0 (diff)
downloadchromium_src-979c7e4ba84320a00faf1fa7ade83abcfe45b3e6.zip
chromium_src-979c7e4ba84320a00faf1fa7ade83abcfe45b3e6.tar.gz
chromium_src-979c7e4ba84320a00faf1fa7ade83abcfe45b3e6.tar.bz2
Fix liner errors due to duplicate symbols in the switches. These switches
were moved to IPC, but the source ones in chrome/common were kept. Review URL: http://codereview.chromium.org/160014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/child_thread.cc1
-rw-r--r--chrome/common/chrome_switches.cc13
-rw-r--r--chrome/common/chrome_switches.h4
-rw-r--r--chrome/common/debug_flags.cc1
4 files changed, 2 insertions, 17 deletions
diff --git a/chrome/common/child_thread.cc b/chrome/common/child_thread.cc
index e2f7c5f..9168570 100644
--- a/chrome/common/child_thread.cc
+++ b/chrome/common/child_thread.cc
@@ -11,6 +11,7 @@
#include "chrome/common/notification_service.h"
#include "chrome/common/plugin_messages.h"
#include "ipc/ipc_logging.h"
+#include "ipc/ipc_switches.h"
#include "webkit/glue/webkit_glue.h"
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 85b08a1..1ad949d 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -47,10 +47,6 @@ const wchar_t kPluginStartupDialog[] = L"plugin-startup-dialog";
// --plugin-launcher="path\to\purify /Run=yes"
const wchar_t kPluginLauncher[] = L"plugin-launcher";
-// The value of this switch tells the child process which
-// IPC channel the browser expects to use to communicate with it.
-const wchar_t kProcessChannelID[] = L"channel";
-
// The value of this switch tells the app to listen for and broadcast
// testing-related messages on IPC channel with the given ID.
const wchar_t kTestingChannelID[] = L"testing-channel";
@@ -160,11 +156,6 @@ const wchar_t kJavaScriptFlags[] = L"js-flags";
// string value, the 2 letter code from ISO 3166-1.
const wchar_t kCountry[] = L"country";
-// Will add kDebugOnStart to every child processes. If a value is passed, it
-// will be used as a filter to determine if the child process should have the
-// kDebugOnStart flag passed on or not.
-const wchar_t kDebugChildren[] = L"debug-children";
-
// Will add kWaitForDebugger to every child processes. If a value is passed, it
// will be used as a filter to determine if the child process should have the
// kWaitForDebugger flag passed on or not.
@@ -440,10 +431,6 @@ const wchar_t kUtilityCmdPrefix[] = L"utility-cmd-prefix";
// Temparary option for new ftp implemetation.
const wchar_t kNewFtp[] = L"new-ftp";
-// On POSIX only: use FIFO for IPC channels so that "unrelated" process
-// can connect to a channel, provided it knows its name. For debugging purposes.
-const wchar_t kIPCUseFIFO[] = L"ipc-use-fifo";
-
// Enable Native Web Worker support
const wchar_t kEnableNativeWebWorkers[] = L"enable-native-web-workers";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 0727da2..6ae95bf 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -22,7 +22,6 @@ extern const wchar_t kRendererStartupDialog[];
extern const wchar_t kPluginStartupDialog[];
extern const wchar_t kPluginLauncher[];
-extern const wchar_t kProcessChannelID[];
extern const wchar_t kTestingChannelID[];
extern const wchar_t kHomePage[];
extern const wchar_t kRendererProcess[];
@@ -53,7 +52,6 @@ extern const wchar_t kPluginPath[];
extern const wchar_t kUserAgent[];
extern const wchar_t kJavaScriptFlags[];
extern const wchar_t kCountry[];
-extern const wchar_t kDebugChildren[];
extern const wchar_t kWaitForDebuggerChildren[];
extern const wchar_t kLogFilterPrefix[];
@@ -163,8 +161,6 @@ extern const wchar_t kUtilityCmdPrefix[];
extern const wchar_t kNewFtp[];
-extern const wchar_t kIPCUseFIFO[];
-
extern const wchar_t kEnableNativeWebWorkers[];
extern const wchar_t kWebWorkerProcessPerCore[];
extern const wchar_t kWebWorkerShareProcesses[];
diff --git a/chrome/common/debug_flags.cc b/chrome/common/debug_flags.cc
index 97c2725..5e0b43e 100644
--- a/chrome/common/debug_flags.cc
+++ b/chrome/common/debug_flags.cc
@@ -7,6 +7,7 @@
#include "base/base_switches.h"
#include "base/command_line.h"
#include "chrome/common/chrome_switches.h"
+#include "ipc/ipc_switches.h"
bool DebugFlags::ProcessDebugFlags(CommandLine* command_line,
ChildProcessInfo::ProcessType type,