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

Side by Side Diff: remoting/host/backoff_timer.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef REMOTING_HOST_BACKOFF_TIMER_H_ 5 #ifndef REMOTING_HOST_BACKOFF_TIMER_H_
6 #define REMOTING_HOST_BACKOFF_TIMER_H_ 6 #define REMOTING_HOST_BACKOFF_TIMER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
11 #include "net/base/backoff_entry.h" 12 #include "net/base/backoff_entry.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 // An object similar to a base::Timer with exponential backoff. 16 // An object similar to a base::Timer with exponential backoff.
16 class BackoffTimer { 17 class BackoffTimer {
17 public: 18 public:
18 BackoffTimer(); 19 BackoffTimer();
(...skipping 24 matching lines...) Expand all
43 tracked_objects::Location posted_from_; 44 tracked_objects::Location posted_from_;
44 net::BackoffEntry::Policy backoff_policy_ = {}; 45 net::BackoffEntry::Policy backoff_policy_ = {};
45 scoped_ptr<net::BackoffEntry> backoff_entry_; 46 scoped_ptr<net::BackoffEntry> backoff_entry_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(BackoffTimer); 48 DISALLOW_COPY_AND_ASSIGN(BackoffTimer);
48 }; 49 };
49 50
50 } // namespace remoting 51 } // namespace remoting
51 52
52 #endif // REMOTING_HOST_BACKOFF_TIMER_H_ 53 #endif // REMOTING_HOST_BACKOFF_TIMER_H_
OLDNEW
« no previous file with comments | « remoting/host/audio_silence_detector_unittest.cc ('k') | remoting/host/basic_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698