Searched refs:OAuth2MintTokenFlow (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/google_apis/gaia/
H A Doauth2_mint_token_flow_unittest.cc5 // A complete set of unit tests for OAuth2MintTokenFlow.
125 class MockDelegate : public OAuth2MintTokenFlow::Delegate {
138 class MockMintTokenFlow : public OAuth2MintTokenFlow {
141 const OAuth2MintTokenFlow::Parameters& parameters )
142 : OAuth2MintTokenFlow(NULL, delegate, parameters) {}
156 void CreateFlow(OAuth2MintTokenFlow::Mode mode) {
161 OAuth2MintTokenFlow::Mode mode) {
168 OAuth2MintTokenFlow::Parameters(rt, ext_id, client_id, scopes, mode)));
185 CreateFlow(OAuth2MintTokenFlow::MODE_ISSUE_ADVICE);
196 CreateFlow(OAuth2MintTokenFlow
[all...]
H A Doauth2_mint_token_flow.cc98 OAuth2MintTokenFlow::Parameters::Parameters() : mode(MODE_ISSUE_ADVICE) {}
100 OAuth2MintTokenFlow::Parameters::Parameters(
113 OAuth2MintTokenFlow::Parameters::~Parameters() {}
115 OAuth2MintTokenFlow::OAuth2MintTokenFlow(URLRequestContextGetter* context, function in class:OAuth2MintTokenFlow
126 OAuth2MintTokenFlow::~OAuth2MintTokenFlow() { }
128 void OAuth2MintTokenFlow::ReportSuccess(const std::string& access_token,
136 void OAuth2MintTokenFlow::ReportIssueAdviceSuccess(
144 void OAuth2MintTokenFlow
[all...]
H A Doauth2_mint_token_flow.h60 class OAuth2MintTokenFlow : public OAuth2ApiCallFlow { class in inherits:OAuth2ApiCallFlow
104 OAuth2MintTokenFlow(net::URLRequestContextGetter* context,
107 virtual ~OAuth2MintTokenFlow();
144 base::WeakPtrFactory<OAuth2MintTokenFlow> weak_factory_;
146 DISALLOW_COPY_AND_ASSIGN(OAuth2MintTokenFlow);
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_toggle_flow.h21 public OAuth2MintTokenFlow::Delegate {
41 // OAuth2MintTokenFlow::Delegate
63 scoped_ptr<OAuth2MintTokenFlow> mint_token_flow_;
H A Deasy_unlock_toggle_flow.cc167 new OAuth2MintTokenFlow(profile_->GetRequestContext(),
169 OAuth2MintTokenFlow::Parameters(
174 OAuth2MintTokenFlow::MODE_MINT_TOKEN_FORCE)));
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Didentity_api.h182 public OAuth2MintTokenFlow::Delegate,
247 // OAuth2MintTokenFlow::Delegate implementation:
271 virtual OAuth2MintTokenFlow* CreateMintTokenFlow(
285 scoped_ptr<OAuth2MintTokenFlow> mint_token_flow_;
286 OAuth2MintTokenFlow::Mode gaia_mint_token_mode_;
H A Didentity_api.cc497 gaia_mint_token_mode_ = OAuth2MintTokenFlow::MODE_MINT_TOKEN_FORCE;
514 gaia_mint_token_mode_ = OAuth2MintTokenFlow::MODE_MINT_TOKEN_FORCE;
516 gaia_mint_token_mode_ = OAuth2MintTokenFlow::MODE_MINT_TOKEN_NO_FORCE;
786 OAuth2MintTokenFlow* IdentityGetAuthTokenFunction::CreateMintTokenFlow(
788 OAuth2MintTokenFlow* mint_token_flow = new OAuth2MintTokenFlow(
791 OAuth2MintTokenFlow::Parameters(
H A Didentity_apitest.cc162 class TestHangOAuth2MintTokenFlow : public OAuth2MintTokenFlow {
165 : OAuth2MintTokenFlow(NULL, NULL, OAuth2MintTokenFlow::Parameters()) {}
172 class TestOAuth2MintTokenFlow : public OAuth2MintTokenFlow {
183 OAuth2MintTokenFlow::Delegate* delegate)
184 : OAuth2MintTokenFlow(NULL, delegate, OAuth2MintTokenFlow::Parameters()),
222 OAuth2MintTokenFlow::Delegate* delegate_;
292 void set_mint_token_flow(scoped_ptr<OAuth2MintTokenFlow> flow) {
299 .PassAs<OAuth2MintTokenFlow>());
[all...]

Completed in 147 milliseconds