diff options
Diffstat (limited to 'components/copresence/copresence_manager_impl.cc')
-rw-r--r-- | components/copresence/copresence_manager_impl.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/copresence/copresence_manager_impl.cc b/components/copresence/copresence_manager_impl.cc index 25b8a5c..e02211c 100644 --- a/components/copresence/copresence_manager_impl.cc +++ b/components/copresence/copresence_manager_impl.cc @@ -50,10 +50,10 @@ bool SupportedTokenMedium(const TokenObservation& token) { CopresenceManagerImpl::CopresenceManagerImpl(CopresenceDelegate* delegate) : delegate_(delegate), - whispernet_init_callback_(base::Bind( - &CopresenceManagerImpl::WhispernetInitComplete, - // This callback gets cancelled when we are destroyed. - base::Unretained(this))), + whispernet_init_callback_( + base::Bind(&CopresenceManagerImpl::WhispernetInitComplete, + // This callback gets cancelled when we are destroyed. + base::Unretained(this))), init_failed_(false), state_(new CopresenceStateImpl), directive_handler_(new DirectiveHandlerImpl( @@ -61,8 +61,8 @@ CopresenceManagerImpl::CopresenceManagerImpl(CopresenceDelegate* delegate) // will be destructed before the CopresenceState instance. base::Bind(&CopresenceStateImpl::UpdateDirectives, base::Unretained(state_.get())))), - poll_timer_(new base::RepeatingTimer<CopresenceManagerImpl>), - audio_check_timer_(new base::RepeatingTimer<CopresenceManagerImpl>), + poll_timer_(new base::RepeatingTimer), + audio_check_timer_(new base::RepeatingTimer), queued_messages_by_token_( base::TimeDelta::FromSeconds(kQueuedMessageTimeout), kMaxQueuedMessages) { |