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

Side by Side Diff: remoting/client/plugin/pepper_util.cc

Issue 399313006: Move bit_cast from base/macros.h to its own header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compile after r368203 Created 4 years, 11 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 | « ppapi/shared_impl/ppb_view_shared.cc ('k') | sandbox/win/src/Wow64.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "remoting/client/plugin/pepper_util.h" 5 #include "remoting/client/plugin/pepper_util.h"
6 6
7 #include "base/bit_cast.h"
7 #include "base/callback.h" 8 #include "base/callback.h"
8 #include "base/logging.h" 9 #include "base/logging.h"
9 #include "base/sys_byteorder.h" 10 #include "base/sys_byteorder.h"
10 #include "ppapi/cpp/module.h" 11 #include "ppapi/cpp/module.h"
11 #include "ppapi/cpp/net_address.h" 12 #include "ppapi/cpp/net_address.h"
12 #include "third_party/webrtc/base/socketaddress.h" 13 #include "third_party/webrtc/base/socketaddress.h"
13 14
14 namespace remoting { 15 namespace remoting {
15 16
16 bool SocketAddressToPpNetAddressWithPort( 17 bool SocketAddressToPpNetAddressWithPort(
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 case PP_NETADDRESS_FAMILY_UNSPECIFIED: { 74 case PP_NETADDRESS_FAMILY_UNSPECIFIED: {
74 break; 75 break;
75 } 76 }
76 }; 77 };
77 78
78 NOTREACHED(); 79 NOTREACHED();
79 address->Clear(); 80 address->Clear();
80 } 81 }
81 82
82 } // namespace remoting 83 } // namespace remoting
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppb_view_shared.cc ('k') | sandbox/win/src/Wow64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698