OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/location.h" |
5 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
6 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
7 #include "ipc/ipc_channel_proxy.h" | 8 #include "ipc/ipc_channel_proxy.h" |
8 #include "ipc/ipc_logging.h" | 9 #include "ipc/ipc_logging.h" |
9 #include "ipc/ipc_message_utils.h" | 10 #include "ipc/ipc_message_utils.h" |
10 | 11 |
11 namespace IPC { | 12 namespace IPC { |
12 | 13 |
13 //------------------------------------------------------------------------------ | 14 //------------------------------------------------------------------------------ |
14 | 15 |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 Channel* channel = context_.get()->channel_.get(); | 395 Channel* channel = context_.get()->channel_.get(); |
395 // Channel must have been created first. | 396 // Channel must have been created first. |
396 DCHECK(channel) << context_.get()->channel_id_; | 397 DCHECK(channel) << context_.get()->channel_id_; |
397 return channel->GetClientEuid(client_euid); | 398 return channel->GetClientEuid(client_euid); |
398 } | 399 } |
399 #endif | 400 #endif |
400 | 401 |
401 //----------------------------------------------------------------------------- | 402 //----------------------------------------------------------------------------- |
402 | 403 |
403 } // namespace IPC | 404 } // namespace IPC |
OLD | NEW |