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

Unified Diff: chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Created 3 years, 9 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/signin/mutable_profile_oauth2_token_service_delegate.h
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h
index 2e5e5ab33bc5cb5a06fa95e93ea4435ccad00efc..a41052ef258f039a3c5273aad84c4c27ded90e59 100644
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h
@@ -5,9 +5,11 @@
#ifndef CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_
#define CHROME_BROWSER_SIGNIN_MUTABLE_PROFILE_OAUTH2_TOKEN_SERVICE_DELEGATE_H_
+#include <memory>
+#include <vector>
+
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/threading/thread_checker.h"
#include "components/signin/core/browser/account_tracker_service.h"
#include "components/signin/core/browser/profile_oauth2_token_service.h"
@@ -155,7 +157,7 @@ class MutableProfileOAuth2TokenServiceDelegate
// The state of the load credentials operation.
LoadCredentialsState load_credentials_state_;
- ScopedVector<RevokeServerRefreshToken> server_revokes_;
+ std::vector<std::unique_ptr<RevokeServerRefreshToken>> server_revokes_;
// Used to verify that certain methods are called only on the thread on which
// this instance was created.

Powered by Google App Engine
This is Rietveld 408576698