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

Side by Side Diff: components/copresence/handlers/audio/audio_directive_handler_impl.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // 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 "components/copresence/handlers/audio/audio_directive_handler_impl.h" 5 #include "components/copresence/handlers/audio/audio_directive_handler_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "base/time/default_tick_clock.h" 15 #include "base/time/default_tick_clock.h"
14 #include "base/time/time.h" 16 #include "base/time/time.h"
15 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
16 #include "components/audio_modem/public/modem.h" 18 #include "components/audio_modem/public/modem.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 231
230 *expiry = GetEarliestEventTime(transmits_lists_[AUDIBLE], base::TimeTicks()); 232 *expiry = GetEarliestEventTime(transmits_lists_[AUDIBLE], base::TimeTicks());
231 *expiry = GetEarliestEventTime(transmits_lists_[INAUDIBLE], *expiry); 233 *expiry = GetEarliestEventTime(transmits_lists_[INAUDIBLE], *expiry);
232 *expiry = GetEarliestEventTime(receives_lists_[AUDIBLE], *expiry); 234 *expiry = GetEarliestEventTime(receives_lists_[AUDIBLE], *expiry);
233 *expiry = GetEarliestEventTime(receives_lists_[INAUDIBLE], *expiry); 235 *expiry = GetEarliestEventTime(receives_lists_[INAUDIBLE], *expiry);
234 236
235 return !expiry->is_null(); 237 return !expiry->is_null();
236 } 238 }
237 239
238 } // namespace copresence 240 } // namespace copresence
OLDNEW
« no previous file with comments | « components/copresence/BUILD.gn ('k') | components/copresence/handlers/audio/audio_directive_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698