diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 22:28:16 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 22:28:16 +0000 |
commit | 9a3a293b332de07fe81522061fadd8883789ec4a (patch) | |
tree | 39e2c276c3a7ef8668884bd02c590c8eccb51aa9 /chrome/common/child_thread.h | |
parent | bb050c16657599d3cdee43c8d377ebcca0da64eb (diff) | |
download | chromium_src-9a3a293b332de07fe81522061fadd8883789ec4a.zip chromium_src-9a3a293b332de07fe81522061fadd8883789ec4a.tar.gz chromium_src-9a3a293b332de07fe81522061fadd8883789ec4a.tar.bz2 |
ipc: use strings, not wstrings for channel ids.
They're ASCII anyway.
TEST=covered by existing tests
Review URL: http://codereview.chromium.org/119131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17682 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_thread.h')
-rw-r--r-- | chrome/common/child_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index f70869a..f612c35 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -41,7 +41,7 @@ class ChildThread : public IPC::Channel::Listener, bool Run(); // Overrides the channel name. Used for --single-process mode. - void SetChannelName(const std::wstring& name) { channel_name_ = name; } + void SetChannelName(const std::string& name) { channel_name_ = name; } // Called when the process refcount is 0. void OnProcessFinalRelease(); @@ -69,7 +69,7 @@ class ChildThread : public IPC::Channel::Listener, // The message loop used to run tasks on the thread that started this thread. MessageLoop* owner_loop_; - std::wstring channel_name_; + std::string channel_name_; scoped_ptr<IPC::SyncChannel> channel_; // Used only on the background render thread to implement message routing |