| Index: chrome/browser/ui/app_list/speech_auth_helper.h
|
| diff --git a/chrome/browser/ui/app_list/speech_auth_helper.h b/chrome/browser/ui/app_list/speech_auth_helper.h
|
| index 01122f67d447cb3c5ab5a0d15f8052f43ea3233b..d5b9094a125faa6a0e4f6ab98bf096db541e56f3 100644
|
| --- a/chrome/browser/ui/app_list/speech_auth_helper.h
|
| +++ b/chrome/browser/ui/app_list/speech_auth_helper.h
|
| @@ -26,15 +26,15 @@ namespace app_list {
|
| class SpeechAuthHelper : public OAuth2TokenService::Consumer,
|
| public OAuth2TokenService::Observer {
|
| public:
|
| - explicit SpeechAuthHelper(Profile* profile, base::Clock* clock);
|
| + SpeechAuthHelper(Profile* profile, base::Clock* clock);
|
| ~SpeechAuthHelper() override;
|
|
|
| // Returns the current auth token. If the auth service is not available, or
|
| // there was a failure in obtaining a token, return the empty string.
|
| - std::string GetToken();
|
| + std::string GetToken() const;
|
|
|
| // Returns the OAuth scope associated with the auth token.
|
| - std::string GetScope();
|
| + std::string GetScope() const;
|
|
|
| private:
|
| // Overridden from OAuth2TokenService::Consumer:
|
| @@ -50,7 +50,6 @@ class SpeechAuthHelper : public OAuth2TokenService::Consumer,
|
| void ScheduleTokenFetch(const base::TimeDelta& fetch_delay);
|
| void FetchAuthToken();
|
|
|
| - Profile* profile_;
|
| base::Clock* clock_;
|
| ProfileOAuth2TokenService* token_service_;
|
| std::string authenticated_account_id_;
|
|
|