Use suffixed {uint,int}{8,16,32,64}_t types.
Removes the use of uint8, etc. in favor of uint8_t. BUG=webrtc:5024 R=henrik.lundin@webrtc.org, henrikg@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org Review URL: https://codereview.webrtc.org/1362503003 . Cr-Commit-Position: refs/heads/master@{#10196}
This commit is contained in:
@ -95,7 +95,7 @@ class Task : public TaskParent {
|
||||
Task(TaskParent *parent);
|
||||
~Task() override;
|
||||
|
||||
int32 unique_id() { return unique_id_; }
|
||||
int32_t unique_id() { return unique_id_; }
|
||||
|
||||
void Start();
|
||||
void Step();
|
||||
@ -103,14 +103,14 @@ class Task : public TaskParent {
|
||||
bool HasError() const { return (GetState() == STATE_ERROR); }
|
||||
bool Blocked() const { return blocked_; }
|
||||
bool IsDone() const { return done_; }
|
||||
int64 ElapsedTime();
|
||||
int64_t ElapsedTime();
|
||||
|
||||
// Called from outside to stop task without any more callbacks
|
||||
void Abort(bool nowake = false);
|
||||
|
||||
bool TimedOut();
|
||||
|
||||
int64 timeout_time() const { return timeout_time_; }
|
||||
int64_t timeout_time() const { return timeout_time_; }
|
||||
int timeout_seconds() const { return timeout_seconds_; }
|
||||
void set_timeout_seconds(int timeout_seconds);
|
||||
|
||||
@ -134,7 +134,7 @@ class Task : public TaskParent {
|
||||
// Called inside to advise that the task should wake and signal an error
|
||||
void Error();
|
||||
|
||||
int64 CurrentTime();
|
||||
int64_t CurrentTime();
|
||||
|
||||
virtual std::string GetStateName(int state) const;
|
||||
virtual int Process(int state);
|
||||
@ -160,13 +160,13 @@ class Task : public TaskParent {
|
||||
bool aborted_;
|
||||
bool busy_;
|
||||
bool error_;
|
||||
int64 start_time_;
|
||||
int64 timeout_time_;
|
||||
int64_t start_time_;
|
||||
int64_t timeout_time_;
|
||||
int timeout_seconds_;
|
||||
bool timeout_suspended_;
|
||||
int32 unique_id_;
|
||||
|
||||
static int32 unique_id_seed_;
|
||||
int32_t unique_id_;
|
||||
|
||||
static int32_t unique_id_seed_;
|
||||
};
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
Reference in New Issue
Block a user