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

Side by Side Diff: ipc/ipc_switches.cc

Issue 270062: Use ASCII strings for switch names. (Closed)
Patch Set: victory Created 11 years, 2 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 unified diff | Download patch
« no previous file with comments | « ipc/ipc_switches.h ('k') | media/bench/bench.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ipc/ipc_switches.h" 5 #include "ipc/ipc_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
11 // Can't find the switch you are looking for? try looking in 11 // Can't find the switch you are looking for? try looking in
12 // base/base_switches.cc instead. 12 // base/base_switches.cc instead.
13 13
14 // On POSIX only: use FIFO for IPC channels so that "unrelated" process 14 // On POSIX only: use FIFO for IPC channels so that "unrelated" process
15 // can connect to a channel, provided it knows its name. For debugging purposes. 15 // can connect to a channel, provided it knows its name. For debugging purposes.
16 const wchar_t kIPCUseFIFO[] = L"ipc-use-fifo"; 16 const char kIPCUseFIFO[] = "ipc-use-fifo";
17 17
18 // The value of this switch tells the child process which 18 // The value of this switch tells the child process which
19 // IPC channel the browser expects to use to communicate with it. 19 // IPC channel the browser expects to use to communicate with it.
20 const wchar_t kProcessChannelID[] = L"channel"; 20 const char kProcessChannelID[] = "channel";
21 21
22 // Will add kDebugOnStart to every child processes. If a value is passed, it 22 // Will add kDebugOnStart to every child processes. If a value is passed, it
23 // will be used as a filter to determine if the child process should have the 23 // will be used as a filter to determine if the child process should have the
24 // kDebugOnStart flag passed on or not. 24 // kDebugOnStart flag passed on or not.
25 const wchar_t kDebugChildren[] = L"debug-children"; 25 const char kDebugChildren[] = "debug-children";
26 26
27 } // namespace switches 27 } // namespace switches
28 28
OLDNEW
« no previous file with comments | « ipc/ipc_switches.h ('k') | media/bench/bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698