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

Side by Side Diff: ipc/ipc_channel_win.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « courgette/encoded_program.cc ('k') | ipc/ipc_message_utils.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_channel_win.h" 5 #include "ipc/ipc_channel_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/non_thread_safe.h" 13 #include "base/non_thread_safe.h"
14 #include "base/stats_counters.h" 14 #include "base/stats_counters.h"
15 #include "base/utf_string_conversions.h"
15 #include "base/win_util.h" 16 #include "base/win_util.h"
16 #include "ipc/ipc_logging.h" 17 #include "ipc/ipc_logging.h"
17 #include "ipc/ipc_message_utils.h" 18 #include "ipc/ipc_message_utils.h"
18 19
19 namespace IPC { 20 namespace IPC {
20 //------------------------------------------------------------------------------ 21 //------------------------------------------------------------------------------
21 22
22 Channel::ChannelImpl::State::State(ChannelImpl* channel) : is_pending(false) { 23 Channel::ChannelImpl::State::State(ChannelImpl* channel) : is_pending(false) {
23 memset(&context.overlapped, 0, sizeof(context.overlapped)); 24 memset(&context.overlapped, 0, sizeof(context.overlapped));
24 context.handler = channel; 25 context.handler = channel;
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 427
427 void Channel::set_listener(Listener* listener) { 428 void Channel::set_listener(Listener* listener) {
428 channel_impl_->set_listener(listener); 429 channel_impl_->set_listener(listener);
429 } 430 }
430 431
431 bool Channel::Send(Message* message) { 432 bool Channel::Send(Message* message) {
432 return channel_impl_->Send(message); 433 return channel_impl_->Send(message);
433 } 434 }
434 435
435 } // namespace IPC 436 } // namespace IPC
OLDNEW
« no previous file with comments | « courgette/encoded_program.cc ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698