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

Unified Diff: chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc

Issue 10630021: Modify experimental identity flow to display scope descriptions and details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/common/net/gaia/oauth2_mint_token_flow_unittest.cc
diff --git a/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc b/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
index 77213cda55bcb0ba419fc0d6dd59d4957a9e32b8..25f021744b7a8a556bff29adb6d781bc793d3e72 100644
--- a/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
+++ b/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
@@ -161,9 +161,9 @@ class OAuth2MintTokenFlowTest : public testing::Test {
std::string ext_id = "ext1";
std::string client_id = "client1";
std::vector<std::string> scopes(CreateTestScopes());
- flow_.reset(new MockMintTokenFlow(
+ flow_ = new MockMintTokenFlow(
delegate,
- OAuth2MintTokenFlow::Parameters(rt, ext_id, client_id, scopes, mode)));
+ OAuth2MintTokenFlow::Parameters(rt, ext_id, client_id, scopes, mode));
}
// Helper to parse the given string to DictionaryValue.
@@ -174,7 +174,7 @@ class OAuth2MintTokenFlowTest : public testing::Test {
return static_cast<base::DictionaryValue*>(value.release());
}
- scoped_ptr<MockMintTokenFlow> flow_;
+ scoped_refptr<MockMintTokenFlow> flow_;
StrictMock<MockDelegate> delegate_;
};

Powered by Google App Engine
This is Rietveld 408576698