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

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

Issue 10389220: Fix some oauth2 test code: put most code in anonymous namespace to avoid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
===================================================================
--- chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc (revision 137883)
+++ chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc (working copy)
@@ -119,8 +119,6 @@
return ia;
}
-} // namespace
-
class MockDelegate : public OAuth2MintTokenFlow::Delegate {
public:
MockDelegate() {}
@@ -144,6 +142,8 @@
MOCK_METHOD0(CreateMintTokenFetcher, OAuth2MintTokenFetcher*());
};
+} // namespace
+
class OAuth2MintTokenFlowTest : public testing::Test {
public:
OAuth2MintTokenFlowTest() {}

Powered by Google App Engine
This is Rietveld 408576698