summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_channel_win.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 22:28:16 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 22:28:16 +0000
commit9a3a293b332de07fe81522061fadd8883789ec4a (patch)
tree39e2c276c3a7ef8668884bd02c590c8eccb51aa9 /chrome/common/ipc_channel_win.h
parentbb050c16657599d3cdee43c8d377ebcca0da64eb (diff)
downloadchromium_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/ipc_channel_win.h')
-rw-r--r--chrome/common/ipc_channel_win.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/ipc_channel_win.h b/chrome/common/ipc_channel_win.h
index 2a601e1..f521431 100644
--- a/chrome/common/ipc_channel_win.h
+++ b/chrome/common/ipc_channel_win.h
@@ -19,15 +19,15 @@ namespace IPC {
class Channel::ChannelImpl : public MessageLoopForIO::IOHandler {
public:
// Mirror methods of Channel, see ipc_channel.h for description.
- ChannelImpl(const std::wstring& channel_id, Mode mode, Listener* listener);
+ ChannelImpl(const std::string& channel_id, Mode mode, Listener* listener);
~ChannelImpl() { Close(); }
bool Connect();
void Close();
void set_listener(Listener* listener) { listener_ = listener; }
bool Send(Message* message);
private:
- const std::wstring PipeName(const std::wstring& channel_id) const;
- bool CreatePipe(const std::wstring& channel_id, Mode mode);
+ const std::wstring PipeName(const std::string& channel_id) const;
+ bool CreatePipe(const std::string& channel_id, Mode mode);
bool ProcessConnection();
bool ProcessIncomingMessages(MessageLoopForIO::IOContext* context,