| Index: components/copresence/public/copresence_delegate.h
|
| diff --git a/components/copresence/public/copresence_delegate.h b/components/copresence/public/copresence_delegate.h
|
| index 64371d564d123cb6d73cba0ed46216f6fb8dc2c1..3a7aca65f0d0733ca58fed372b3461f25d0000f3 100644
|
| --- a/components/copresence/public/copresence_delegate.h
|
| +++ b/components/copresence/public/copresence_delegate.h
|
| @@ -19,7 +19,9 @@ namespace copresence {
|
| class Message;
|
| class WhispernetClient;
|
|
|
| -enum CopresenceStatus { SUCCESS, FAIL };
|
| +// AUDIO_FAIL indicates that we weren't able to hear the audio token that
|
| +// we were playing.
|
| +enum CopresenceStatus { SUCCESS, FAIL, AUDIO_FAIL };
|
|
|
| // Callback type to send a status.
|
| typedef base::Callback<void(CopresenceStatus)> StatusCallback;
|
| @@ -36,6 +38,8 @@ class CopresenceDelegate {
|
| const std::string& subscription_id,
|
| const std::vector<Message>& message) = 0;
|
|
|
| + virtual void HandleStatusUpdate(CopresenceStatus status) = 0;
|
| +
|
| // Thw URLRequestContextGetter must outlive the CopresenceManager.
|
| virtual net::URLRequestContextGetter* GetRequestContext() const = 0;
|
|
|
|
|