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

Unified Diff: chrome/browser/ui/app_list/speech_auth_helper.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
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 57e2397bbf1d765f1efdbf412ea9ee2044ebd388..13f1eeea19b9baa9a28ebaebb35ae5bd17d706a8 100644
--- a/chrome/browser/ui/app_list/speech_auth_helper.h
+++ b/chrome/browser/ui/app_list/speech_auth_helper.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SPEECH_AUTH_HELPER_H_
#define CHROME_BROWSER_UI_APP_LIST_SPEECH_AUTH_HELPER_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "components/signin/core/browser/profile_oauth2_token_service.h"
@@ -55,7 +55,7 @@ class SpeechAuthHelper : public OAuth2TokenService::Consumer,
ProfileOAuth2TokenService* token_service_;
std::string authenticated_account_id_;
std::string auth_token_;
- scoped_ptr<OAuth2TokenService::Request> auth_token_request_;
+ std::unique_ptr<OAuth2TokenService::Request> auth_token_request_;
base::WeakPtrFactory<SpeechAuthHelper> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698