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

Side by Side Diff: talk/app/webrtc/test/fakedatachannelprovider.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 130 }
131 131
132 cricket::SendDataParams last_send_data_params() const { 132 cricket::SendDataParams last_send_data_params() const {
133 return last_send_data_params_; 133 return last_send_data_params_;
134 } 134 }
135 135
136 bool IsConnected(webrtc::DataChannel* data_channel) const { 136 bool IsConnected(webrtc::DataChannel* data_channel) const {
137 return connected_channels_.find(data_channel) != connected_channels_.end(); 137 return connected_channels_.find(data_channel) != connected_channels_.end();
138 } 138 }
139 139
140 bool IsSendStreamAdded(uint32 stream) const { 140 bool IsSendStreamAdded(uint32_t stream) const {
141 return send_ssrcs_.find(stream) != send_ssrcs_.end(); 141 return send_ssrcs_.find(stream) != send_ssrcs_.end();
142 } 142 }
143 143
144 bool IsRecvStreamAdded(uint32 stream) const { 144 bool IsRecvStreamAdded(uint32_t stream) const {
145 return recv_ssrcs_.find(stream) != recv_ssrcs_.end(); 145 return recv_ssrcs_.find(stream) != recv_ssrcs_.end();
146 } 146 }
147 147
148 private: 148 private:
149 cricket::SendDataParams last_send_data_params_; 149 cricket::SendDataParams last_send_data_params_;
150 bool send_blocked_; 150 bool send_blocked_;
151 bool transport_available_; 151 bool transport_available_;
152 bool ready_to_send_; 152 bool ready_to_send_;
153 bool transport_error_; 153 bool transport_error_;
154 std::set<webrtc::DataChannel*> connected_channels_; 154 std::set<webrtc::DataChannel*> connected_channels_;
155 std::set<uint32> send_ssrcs_; 155 std::set<uint32_t> send_ssrcs_;
156 std::set<uint32> recv_ssrcs_; 156 std::set<uint32_t> recv_ssrcs_;
157 }; 157 };
OLDNEW
« no previous file with comments | « talk/app/webrtc/test/fakeaudiocapturemodule.cc ('k') | talk/app/webrtc/test/fakemediastreamsignaling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698