/external/chromium_org/chrome/browser/chromeos/policy/ |
D | wildcard_login_checker.cc | 43 const std::string& access_token, in StartWithAccessToken() argument 49 StartUserInfoFetcher(access_token); in StartWithAccessToken() 64 const std::string& access_token, in OnPolicyTokenFetched() argument 73 StartUserInfoFetcher(access_token); in OnPolicyTokenFetched() 77 const std::string& access_token) { in StartUserInfoFetcher() argument 80 user_info_fetcher_->Start(access_token); in StartUserInfoFetcher()
|
D | wildcard_login_checker.h | 37 void StartWithAccessToken(const std::string& access_token, 48 void OnPolicyTokenFetched(const std::string& access_token, 52 void StartUserInfoFetcher(const std::string& access_token);
|
/external/chromium_org/content/browser/geolocation/ |
D | network_location_request.cc | 75 const base::string16& access_token, 86 base::string16* access_token); 94 base::string16* access_token); 114 bool NetworkLocationRequest::MakeRequest(const base::string16& access_token, in MakeRequest() argument 132 FormUploadData(wifi_data, timestamp, access_token, &upload_data); in MakeRequest() 153 base::string16 access_token; in OnURLFetchComplete() local 162 &access_token); in OnURLFetchComplete() 179 callback_.Run(position, server_error, access_token, wifi_data_); in OnURLFetchComplete() 210 const base::string16& access_token, in FormUploadData() argument 222 if (!access_token.empty()) in FormUploadData() [all …]
|
D | network_location_provider.cc | 99 const base::string16& access_token) { in NewNetworkLocationProvider() argument 101 access_token_store, context, url, access_token); in NewNetworkLocationProvider() 109 const base::string16& access_token) in NetworkLocationProvider() argument 116 access_token_(access_token), in NetworkLocationProvider() 166 const base::string16& access_token, in LocationResponseAvailable() argument 176 if (!access_token.empty() && access_token_ != access_token) { in LocationResponseAvailable() 177 access_token_ = access_token; in LocationResponseAvailable() 178 access_token_store_->SaveAccessToken(request_->url(), access_token); in LocationResponseAvailable()
|
/external/chromium_org/google_apis/gaia/ |
D | oauth2_mint_token_flow.cc | 106 : access_token(at), in Parameters() 120 parameters.access_token, in OAuth2MintTokenFlow() 128 void OAuth2MintTokenFlow::ReportSuccess(const std::string& access_token, in ReportSuccess() argument 131 delegate_->OnMintTokenSuccess(access_token, time_to_live); in ReportSuccess() 202 std::string access_token; in ProcessApiCallSuccess() local 204 if (ParseMintTokenResponse(dict, &access_token, &time_to_live)) in ProcessApiCallSuccess() 205 ReportSuccess(access_token, time_to_live); in ProcessApiCallSuccess() 220 const std::string& access_token) { in ProcessNewAccessToken() argument 232 const base::DictionaryValue* dict, std::string* access_token, in ParseMintTokenResponse() argument 235 CHECK(access_token); in ParseMintTokenResponse() [all …]
|
D | gaia_oauth_client.cc | 302 std::string access_token; in HandleResponse() local 305 response_dict->GetString(kAccessTokenValue, &access_token); in HandleResponse() 309 if (access_token.empty()) { in HandleResponse() 315 delegate_->OnRefreshTokenResponse(access_token, expires_in_seconds); in HandleResponse() 318 access_token, in HandleResponse() 360 void GaiaOAuthClient::GetUserEmail(const std::string& access_token, in GetUserEmail() argument 363 return core_->GetUserEmail(access_token, max_retries, delegate); in GetUserEmail() 366 void GaiaOAuthClient::GetUserId(const std::string& access_token, in GetUserId() argument 369 return core_->GetUserId(access_token, max_retries, delegate); in GetUserId() 372 void GaiaOAuthClient::GetTokenInfo(const std::string& access_token, in GetTokenInfo() argument [all …]
|
D | oauth2_access_token_fetcher.cc | 211 std::string access_token; in EndGetAccessToken() local 214 source, &access_token, &expires_in)) { in EndGetAccessToken() 223 access_token, in EndGetAccessToken() 228 const std::string& access_token, in OnGetTokenSuccess() argument 230 consumer_->OnGetTokenSuccess(access_token, expiration_time); in OnGetTokenSuccess() 296 std::string* access_token, in ParseGetAccessTokenSuccessResponse() argument 298 CHECK(access_token); in ParseGetAccessTokenSuccessResponse() 304 return value->GetString(kAccessTokenKey, access_token) && in ParseGetAccessTokenSuccessResponse()
|
D | oauth2_mint_token_flow.h | 84 std::string access_token; member 93 virtual void OnMintTokenSuccess(const std::string& access_token, in OnMintTokenSuccess() argument 116 virtual void ProcessNewAccessToken(const std::string& access_token) OVERRIDE; 130 void ReportSuccess(const std::string& access_token, int time_to_live); 137 const base::DictionaryValue* dict, std::string* access_token,
|
D | oauth2_token_service.cc | 66 const std::string& access_token, in InformConsumer() argument 70 consumer_->OnGetTokenSuccess(this, access_token, expiration_date); in InformConsumer() 138 virtual void OnGetTokenSuccess(const std::string& access_token, 250 const std::string& access_token, in OnGetTokenSuccess() argument 256 access_token_ = access_token; in OnGetTokenSuccess() 530 cache_entry->access_token, in StartCacheLookupRequest() 536 const std::string& access_token) { in InvalidateToken() argument 540 access_token); in InvalidateToken() 547 const std::string& access_token) { in InvalidateTokenForClient() argument 548 InvalidateOAuth2Token(account_id, client_id, scopes, access_token); in InvalidateTokenForClient() [all …]
|
D | oauth2_token_service.h | 73 const std::string& access_token, 153 const std::string& access_token); 160 const std::string& access_token); 189 const std::string& access_token, 213 const std::string& access_token, 257 const std::string& access_token); 287 std::string access_token; member
|
D | gaia_auth_consumer.cc | 41 access_token(new_access_token), in ClientOAuthResult() 49 access_token == b.access_token && in operator ==()
|
D | fake_gaia.cc | 86 std::string access_token; in HandleRequest() local 87 if (GetQueryParameter(request.content, "access_token", &access_token)) { in HandleRequest() 92 if (entry->second.token == access_token) { in HandleRequest() 114 std::string access_token; in HandleRequest() local 119 access_token = auth_header_entry->second.substr(7); in HandleRequest() 127 (token_info = GetAccessTokenInfo(access_token, client_id, scope))) { in HandleRequest()
|
D | oauth2_api_call_flow.cc | 38 const std::string& access_token, in OAuth2ApiCallFlow() argument 42 access_token_(access_token), in OAuth2ApiCallFlow() 138 void OAuth2ApiCallFlow::OnGetTokenSuccess(const std::string& access_token, in OnGetTokenSuccess() argument 140 access_token_ = access_token; in OnGetTokenSuccess()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | identity_internals_ui.cc | 109 const std::string& access_token, 115 const std::string& access_token() const { return access_token_; } in access_token() function in __anonf9b3cf170111::IdentityInternalsTokenRevoker 145 token_revoker->extension_id(), token_revoker->access_token()); in OnTokenRevokerDone() 149 result.AppendString(token_revoker->access_token()); in OnTokenRevokerDone() 243 std::string access_token; in RevokeToken() local 245 args->GetString(kRevokeTokenTokenOffset, &access_token); in RevokeToken() 247 extension_id, access_token, Profile::FromWebUI(web_ui()), this)); in RevokeToken() 252 const std::string& access_token, in IdentityInternalsTokenRevoker() argument 258 access_token_(access_token), in IdentityInternalsTokenRevoker() 261 fetcher_.StartRevokeOAuth2Token(access_token); in IdentityInternalsTokenRevoker()
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | cloud_policy_client_registration_helper.cc | 54 const std::string& access_token, 85 const std::string& access_token, in OnGetTokenSuccess() argument 88 callback_.Run(access_token); in OnGetTokenSuccess() 115 virtual void OnGetTokenSuccess(const std::string& access_token, 149 const std::string& access_token, in OnGetTokenSuccess() argument 151 callback_.Run(access_token); in OnGetTokenSuccess() 218 const std::string& access_token) { in OnTokenFetched() argument 224 if (access_token.empty()) { in OnTokenFetched() 232 oauth_access_token_ = access_token; in OnTokenFetched()
|
/external/chromium_org/chrome/browser/signin/ |
D | fake_profile_oauth2_token_service.cc | 59 const std::string& access_token, in IssueTokenForScope() argument 64 access_token, in IssueTokenForScope() 80 const std::string& access_token, in IssueTokenForAllPendingRequests() argument 85 access_token, in IssueTokenForAllPendingRequests() 93 const std::string& access_token, in CompleteRequests() argument 102 it->request->InformConsumer(error, access_token, expiration); in CompleteRequests() 152 const std::string& access_token) { in InvalidateOAuth2Token() argument
|
D | profile_oauth2_token_service_request.cc | 40 const std::string& access_token, 63 void InformOwnerOnGetTokenSuccess(std::string access_token, 154 const std::string& access_token, in OnGetTokenSuccess() argument 161 access_token, in OnGetTokenSuccess() 179 std::string access_token, in InformOwnerOnGetTokenSuccess() argument 184 owner_->consumer_->OnGetTokenSuccess(owner_, access_token, expiration_time); in InformOwnerOnGetTokenSuccess()
|
D | fake_profile_oauth2_token_service.h | 91 const std::string& access_token, 97 void IssueTokenForAllPendingRequests(const std::string& access_token, 118 const std::string& access_token) OVERRIDE; 134 const std::string& access_token,
|
/external/chromium_org/google_apis/drive/ |
D | auth_service.cc | 43 const std::string& access_token, 76 const std::string& access_token, in OnGetTokenSuccess() argument 84 callback_.Run(HTTP_SUCCESS, access_token); in OnGetTokenSuccess() 176 const std::string& AuthService::access_token() const { in access_token() function in google_apis::AuthService 194 const std::string& access_token) { in OnAuthCompleted() argument 199 access_token_ = access_token; in OnAuthCompleted() 211 callback.Run(error, access_token); in OnAuthCompleted()
|
/external/chromium_org/chrome/browser/managed_mode/ |
D | managed_user_refresh_token_fetcher.cc | 67 const std::string& access_token, 77 const std::string& access_token, 79 virtual void OnRefreshTokenResponse(const std::string& access_token, 138 const std::string& access_token, in OnGetTokenSuccess() argument 141 access_token_ = access_token; in OnGetTokenSuccess() 155 base::StringPrintf(kAuthorizationHeaderFormat, access_token.c_str())); in OnGetTokenSuccess() 229 const std::string& access_token, in OnGetTokensResponse() argument 238 const std::string& access_token, in OnRefreshTokenResponse() argument
|
/external/chromium_org/sandbox/win/src/ |
D | restricted_token_unittest.cc | 32 ATL::CAccessToken access_token; in TEST() local 33 access_token.Attach(token_handle); in TEST() 53 ASSERT_TRUE(access_token.GetUser(&sid_user_default)); in TEST() 55 ASSERT_TRUE(access_token.GetOwner(&sid_owner_default)); in TEST() 71 ATL::CAccessToken access_token; in TEST() local 72 access_token.Attach(token_handle); in TEST() 75 access_token.SetPrimaryGroup(ATL::Sids::World()); in TEST() 79 ASSERT_EQ(ERROR_SUCCESS, token.Init(access_token.GetHandle())); in TEST() 93 ASSERT_TRUE(access_token.GetPrimaryGroup(&sid_default)); in TEST() 304 ATL::CAccessToken access_token; in TEST() local [all …]
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | device_oauth2_token_service.cc | 50 const std::string& access_token, 57 virtual void OnRefreshTokenResponse(const std::string& access_token, 121 const std::string& access_token, in OnRefreshTokenResponse() argument 124 access_token, in OnRefreshTokenResponse() 160 const std::string& access_token, in OnGetTokenSuccess() argument 164 access_token_ = access_token; in OnGetTokenSuccess()
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
D | printer_state.cc | 52 json.SetString(kAccessToken, state.access_token); in SaveToFile() 128 std::string access_token; in LoadFromFile() local 129 if (!json->GetString(kAccessToken, &access_token)) { in LoadFromFile() 168 state->access_token = access_token; in LoadFromFile()
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
D | identity_apitest.cc | 520 std::string access_token; in IN_PROC_BROWSER_TEST_F() local 521 EXPECT_TRUE(value->GetAsString(&access_token)); in IN_PROC_BROWSER_TEST_F() 522 EXPECT_EQ(std::string(kAccessToken), access_token); in IN_PROC_BROWSER_TEST_F() 615 std::string access_token; in IN_PROC_BROWSER_TEST_F() local 616 EXPECT_TRUE(value->GetAsString(&access_token)); in IN_PROC_BROWSER_TEST_F() 617 EXPECT_EQ(std::string(kAccessToken), access_token); in IN_PROC_BROWSER_TEST_F() 654 std::string access_token; in IN_PROC_BROWSER_TEST_F() local 655 EXPECT_TRUE(value->GetAsString(&access_token)); in IN_PROC_BROWSER_TEST_F() 656 EXPECT_EQ(std::string(kAccessToken), access_token); in IN_PROC_BROWSER_TEST_F() 775 std::string access_token; in IN_PROC_BROWSER_TEST_F() local [all …]
|
/external/chromium_org/remoting/host/setup/ |
D | oauth_client.cc | 39 const std::string& access_token, in OnGetTokensResponse() argument 43 gaia_oauth_client_.GetUserEmail(access_token, kMaxGaiaRetries, this); in OnGetTokensResponse() 47 const std::string& access_token, in OnRefreshTokenResponse() argument
|