/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/components/policy/core/common/cloud/ |
D | cloud_policy_client_registration_helper.cc | 48 const std::string& access_token, 80 const std::string& access_token, in OnGetTokenSuccess() argument 83 callback_.Run(access_token); in OnGetTokenSuccess() 110 virtual void OnGetTokenSuccess(const std::string& access_token, 140 const std::string& access_token, in OnGetTokenSuccess() argument 142 callback_.Run(access_token); in OnGetTokenSuccess() 206 const std::string& access_token, in StartRegistrationWithAccessToken() argument 211 OnTokenFetched(access_token); in StartRegistrationWithAccessToken() 225 const std::string& access_token) { in OnTokenFetched() argument 231 if (access_token.empty()) { in OnTokenFetched() [all …]
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | wildcard_login_checker.cc | 55 const std::string& access_token, in StartWithAccessToken() argument 61 StartUserInfoFetcher(access_token); in StartWithAccessToken() 85 const std::string& access_token, in OnPolicyTokenFetched() argument 100 StartUserInfoFetcher(access_token); in OnPolicyTokenFetched() 104 const std::string& access_token) { in StartUserInfoFetcher() argument 107 user_info_fetcher_->Start(access_token); in StartUserInfoFetcher()
|
D | wildcard_login_checker.h | 45 void StartWithAccessToken(const std::string& access_token, 56 void OnPolicyTokenFetched(const std::string& access_token, 60 void StartUserInfoFetcher(const std::string& access_token);
|
/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 | oauth2_token_service_request.cc | 159 const std::string& access_token, 174 void InformOwnerOnGetTokenSuccess(std::string access_token, 221 const std::string& access_token, in OnGetTokenSuccess() argument 229 access_token, in OnGetTokenSuccess() 244 void RequestCore::InformOwnerOnGetTokenSuccess(std::string access_token, in InformOwnerOnGetTokenSuccess() argument 248 consumer_->OnGetTokenSuccess(owner(), access_token, expiration_time); in InformOwnerOnGetTokenSuccess() 264 const std::string& access_token, 288 const std::string& access_token, in InvalidateCore() argument 292 access_token_(access_token), in InvalidateCore() 334 const std::string& access_token) { in InvalidateToken() argument [all …]
|
D | gaia_oauth_client.cc | 305 std::string access_token; in HandleResponse() local 308 response_dict->GetString(kAccessTokenValue, &access_token); in HandleResponse() 312 if (access_token.empty()) { in HandleResponse() 318 delegate_->OnRefreshTokenResponse(access_token, expires_in_seconds); in HandleResponse() 321 access_token, in HandleResponse() 363 void GaiaOAuthClient::GetUserEmail(const std::string& access_token, in GetUserEmail() argument 366 return core_->GetUserEmail(access_token, max_retries, delegate); in GetUserEmail() 369 void GaiaOAuthClient::GetUserId(const std::string& access_token, in GetUserId() argument 372 return core_->GetUserId(access_token, max_retries, delegate); in GetUserId() 375 void GaiaOAuthClient::GetTokenInfo(const std::string& access_token, in GetTokenInfo() argument [all …]
|
D | oauth2_access_token_fetcher_impl.cc | 232 std::string access_token; in EndGetAccessToken() local 234 if (!ParseGetAccessTokenSuccessResponse(source, &access_token, &expires_in)) { in EndGetAccessToken() 243 access_token, in EndGetAccessToken() 248 const std::string& access_token, in OnGetTokenSuccess() argument 250 FireOnGetTokenSuccess(access_token, expiration_time); in OnGetTokenSuccess() 301 std::string* access_token, in ParseGetAccessTokenSuccessResponse() argument 303 CHECK(access_token); in ParseGetAccessTokenSuccessResponse() 308 return value->GetString(kAccessTokenKey, access_token) && in ParseGetAccessTokenSuccessResponse()
|
D | oauth2_mint_token_flow.h | 86 std::string access_token; member 95 virtual void OnMintTokenSuccess(const std::string& access_token, in OnMintTokenSuccess() argument 118 virtual void ProcessNewAccessToken(const std::string& access_token) OVERRIDE; 132 void ReportSuccess(const std::string& access_token, int time_to_live); 139 const base::DictionaryValue* dict, std::string* access_token,
|
D | oauth2_token_service.cc | 71 const std::string& access_token, in InformConsumer() argument 75 consumer_->OnGetTokenSuccess(this, access_token, expiration_date); in InformConsumer() 143 virtual void OnGetTokenSuccess(const std::string& access_token, 249 const std::string& access_token, in OnGetTokenSuccess() argument 255 access_token_ = access_token; in OnGetTokenSuccess() 538 cache_entry->access_token, in StartCacheLookupRequest() 544 const std::string& access_token) { in InvalidateToken() argument 548 access_token); in InvalidateToken() 555 const std::string& access_token) { in InvalidateTokenForClient() argument 556 InvalidateOAuth2Token(account_id, client_id, scopes, access_token); in InvalidateTokenForClient() [all …]
|
D | oauth2_token_service.h | 80 const std::string& access_token, 185 const std::string& access_token); 192 const std::string& access_token); 223 const std::string& access_token, 243 const std::string& access_token, 290 const std::string& access_token); 320 std::string access_token; member
|
D | oauth2_token_service_request_unittest.cc | 28 const std::string& access_token, 73 const std::string& access_token, 93 const std::string& access_token) OVERRIDE; 114 const std::string& access_token, in SetResponse() argument 117 response_access_token_ = access_token; in SetResponse() 141 const std::string& access_token) { in InvalidateOAuth2Token() argument 143 last_token_invalidated_ = access_token; in InvalidateOAuth2Token()
|
D | gaia_auth_consumer.cc | 41 access_token(new_access_token), in ClientOAuthResult() 49 access_token == b.access_token && in operator ==()
|
/external/chromium_org/chrome/browser/signin/ |
D | fake_profile_oauth2_token_service.cc | 76 const std::string& access_token, in IssueAllTokensForAccount() argument 82 access_token, in IssueAllTokensForAccount() 99 const std::string& access_token, in IssueTokenForScope() argument 105 access_token, in IssueTokenForScope() 121 const std::string& access_token, in IssueTokenForAllPendingRequests() argument 127 access_token, in IssueTokenForAllPendingRequests() 136 const std::string& access_token, in CompleteRequests() argument 150 it->request->InformConsumer(error, access_token, expiration); in CompleteRequests() 217 const std::string& access_token) { in InvalidateOAuth2Token() argument
|
D | fake_profile_oauth2_token_service.h | 94 const std::string& access_token, 102 const std::string& access_token, 108 void IssueTokenForAllPendingRequests(const std::string& access_token, 134 const std::string& access_token) OVERRIDE; 148 const std::string& access_token,
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | identity_internals_ui.cc | 110 const std::string& access_token, 116 const std::string& access_token() const { return access_token_; } in access_token() function in __anon41abc7110111::IdentityInternalsTokenRevoker 147 token_revoker->access_token()); in OnTokenRevokerDone() 151 result.AppendString(token_revoker->access_token()); in OnTokenRevokerDone() 247 std::string access_token; in RevokeToken() local 249 args->GetString(kRevokeTokenTokenOffset, &access_token); in RevokeToken() 251 extension_id, access_token, Profile::FromWebUI(web_ui()), this)); in RevokeToken() 256 const std::string& access_token, in IdentityInternalsTokenRevoker() argument 262 access_token_(access_token), in IdentityInternalsTokenRevoker() 265 fetcher_.StartRevokeOAuth2Token(access_token); in IdentityInternalsTokenRevoker()
|
/external/chromium_org/google_apis/drive/ |
D | auth_service.cc | 43 const std::string& access_token, 77 const std::string& access_token, in OnGetTokenSuccess() argument 85 callback_.Run(HTTP_SUCCESS, access_token); in OnGetTokenSuccess() 177 const std::string& AuthService::access_token() const { in access_token() function in google_apis::AuthService 195 const std::string& access_token) { in OnAuthCompleted() argument 200 access_token_ = access_token; in OnAuthCompleted() 212 callback.Run(error, access_token); in OnAuthCompleted()
|
/external/chromium_org/remoting/host/ |
D | oauth_token_getter.cc | 52 const std::string& access_token, in OnGetTokensResponse() argument 58 const std::string& access_token, in OnRefreshTokenResponse() argument 64 oauth_access_token_ = access_token; in OnRefreshTokenResponse() 77 gaia_oauth_client_->GetUserEmail(access_token, kMaxRetries, this); in OnRefreshTokenResponse() 107 const std::string& access_token) { in NotifyCallbacks() argument 112 callbacks.front().Run(status, user_email, access_token); in NotifyCallbacks()
|
D | oauth_token_getter.h | 40 const std::string& access_token)> TokenCallback; 70 const std::string& access_token, 72 virtual void OnRefreshTokenResponse(const std::string& access_token, 81 const std::string& access_token);
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_refresh_token_fetcher.cc | 68 const std::string& access_token, 78 const std::string& access_token, 80 virtual void OnRefreshTokenResponse(const std::string& access_token, 141 const std::string& access_token, in OnGetTokenSuccess() argument 144 access_token_ = access_token; in OnGetTokenSuccess() 158 base::StringPrintf(kAuthorizationHeaderFormat, access_token.c_str())); in OnGetTokenSuccess() 232 const std::string& access_token, in OnGetTokensResponse() argument 241 const std::string& access_token, in OnRefreshTokenResponse() argument
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
D | identity_apitest.cc | 928 std::string access_token; in IN_PROC_BROWSER_TEST_F() local 929 EXPECT_TRUE(value->GetAsString(&access_token)); in IN_PROC_BROWSER_TEST_F() 930 EXPECT_EQ(std::string(kAccessToken), access_token); in IN_PROC_BROWSER_TEST_F() 954 std::string access_token; in IN_PROC_BROWSER_TEST_F() local 955 EXPECT_TRUE(value->GetAsString(&access_token)); in IN_PROC_BROWSER_TEST_F() 956 EXPECT_EQ(std::string(kAccessToken), access_token); in IN_PROC_BROWSER_TEST_F() 1049 std::string access_token; in IN_PROC_BROWSER_TEST_F() local 1050 EXPECT_TRUE(value->GetAsString(&access_token)); in IN_PROC_BROWSER_TEST_F() 1051 EXPECT_EQ(std::string(kAccessToken), access_token); in IN_PROC_BROWSER_TEST_F() 1088 std::string access_token; in IN_PROC_BROWSER_TEST_F() local [all …]
|
/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/policy/cloud/ |
D | user_policy_signin_service_mobile.cc | 81 const std::string& access_token, in RegisterForPolicyWithAccessToken() argument 83 RegisterForPolicyInternal(username, access_token, callback); in RegisterForPolicyWithAccessToken() 94 const std::string& access_token, in RegisterForPolicyInternal() argument 112 if (access_token.empty()) { in RegisterForPolicyInternal() 125 access_token, in RegisterForPolicyInternal()
|
/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()
|