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

Side by Side Diff: ipc/ipc_channel_factory.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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_channel_common.cc ('k') | ipc/ipc_channel_nacl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/macros.h"
5 #include "ipc/ipc_channel_factory.h" 6 #include "ipc/ipc_channel_factory.h"
6 7
7 namespace IPC { 8 namespace IPC {
8 9
9 namespace { 10 namespace {
10 11
11 class PlatformChannelFactory : public ChannelFactory { 12 class PlatformChannelFactory : public ChannelFactory {
12 public: 13 public:
13 PlatformChannelFactory(ChannelHandle handle, Channel::Mode mode) 14 PlatformChannelFactory(ChannelHandle handle, Channel::Mode mode)
14 : handle_(handle), mode_(mode) {} 15 : handle_(handle), mode_(mode) {}
(...skipping 15 matching lines...) Expand all
30 31
31 } // namespace 32 } // namespace
32 33
33 // static 34 // static
34 scoped_ptr<ChannelFactory> ChannelFactory::Create(const ChannelHandle& handle, 35 scoped_ptr<ChannelFactory> ChannelFactory::Create(const ChannelHandle& handle,
35 Channel::Mode mode) { 36 Channel::Mode mode) {
36 return scoped_ptr<ChannelFactory>(new PlatformChannelFactory(handle, mode)); 37 return scoped_ptr<ChannelFactory>(new PlatformChannelFactory(handle, mode));
37 } 38 }
38 39
39 } // namespace IPC 40 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_channel_common.cc ('k') | ipc/ipc_channel_nacl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698