/external/chromium_org/chrome/browser/chromeos/login/supervised/ |
H A D | supervised_user_login_flow.cc | 67 const std::string& token) { 69 ConfigureSync(token); 72 void SupervisedUserLoginFlow::ConfigureSync(const std::string& token) { argument 75 // TODO(antrim): add error handling (no token loaded). 78 profile_, token); 66 OnSyncSetupDataLoaded( const std::string& token) argument
|
/external/chromium_org/chrome/browser/copresence/ |
H A D | chrome_whispernet_client.cc | 64 // Fire an event to request a token encode. 65 void ChromeWhispernetClient::EncodeToken(const std::string& token, argument 74 token, audible),
|
H A D | chrome_whispernet_client_browsertest.cc | 130 const std::string& token, 133 EXPECT_EQ(expected_token_, token); 144 EXPECT_EQ(expected_token_, tokens[0].token); 129 SamplesCallback( const std::string& token, bool audible, const scoped_refptr<media::AudioBusRefCounted>& samples) argument
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
H A D | gaia_web_auth_flow.cc | 41 "?response_type=token&approval_prompt=force&authuser=0&" 101 void GaiaWebAuthFlow::OnUbertokenSuccess(const std::string& token) { argument 111 net::EscapeUrlEncodedData(token, true).c_str(),
|
/external/chromium_org/chrome/browser/invalidation/ |
H A D | gcm_invalidation_bridge_unittest.cc | 89 const std::string& token) { 90 issued_tokens_.push_back(token); 88 RequestTokenFinished(const GoogleServiceAuthError& error, const std::string& token) argument
|
/external/chromium_org/chrome/browser/net/ |
H A D | network_stats_unittest.cc | 41 ProbePacket_Token* token) { 42 token->set_timestamp_micros(timestamp_micros); 43 token->mutable_hash()->assign(hash); 67 ProbePacket_Token token; local 68 CreateToken(1L, "1010", &token); 70 token, 1, probe_bytes, 0, max_probe_packets, &probe_packet); 147 ProbePacket_Token token; local 148 CreateToken(2L, "2a2b", &token); 162 probe_message.GenerateProbeRequest(token, 39 CreateToken(uint64 timestamp_micros, const string& hash, ProbePacket_Token* token) argument
|
H A D | probe_message.cc | 70 void ProbeMessage::GenerateProbeRequest(const ProbePacket_Token& token, argument 81 *(probe_packet->mutable_token()) = token;
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
H A D | conflict_resolver.cc | 33 void ConflictResolver::RunPreflight(scoped_ptr<SyncTaskToken> token) { argument 34 token->InitializeTaskLog("Conflict Resolution"); 39 token.Pass(), task_blocker.Pass(), 44 void ConflictResolver::RunExclusive(scoped_ptr<SyncTaskToken> token) { argument 46 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 53 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 63 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 67 token->RecordLog(base::StringPrintf( 88 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_FAILED); 93 DetachFromNonPrimaryParents(token 128 DetachFromNonPrimaryParents( scoped_ptr<SyncTaskToken> token) argument 148 DidDetachFromParent(scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error) argument 229 RemoveNonPrimaryFiles(scoped_ptr<SyncTaskToken> token) argument 250 DidRemoveFile(scoped_ptr<SyncTaskToken> token, const std::string& file_id, google_apis::GDataErrorCode error) argument 281 UpdateFileMetadata( const std::string& file_id, scoped_ptr<SyncTaskToken> token) argument 291 DidGetRemoteMetadata( const std::string& file_id, scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileResource> entry) argument [all...] |
H A D | sync_engine_initializer.cc | 47 typedef base::Callback<void(scoped_ptr<SyncTaskToken> token, 75 void SyncEngineInitializer::RunPreflight(scoped_ptr<SyncTaskToken> token) { argument 84 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); 95 SyncTaskManager::NotifyTaskDone(token.Pass(), status); 104 SyncTaskManager::NotifyTaskDone(token.Pass(), SYNC_STATUS_OK); 108 GetAboutResource(token.Pass()); 116 scoped_ptr<SyncTaskToken> token) { 120 weak_ptr_factory_.GetWeakPtr(), base::Passed(&token))); 124 scoped_ptr<SyncTaskToken> token, 133 SyncTaskManager::NotifyTaskDone(token 115 GetAboutResource( scoped_ptr<SyncTaskToken> token) argument 123 DidGetAboutResource( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::AboutResource> about_resource) argument 145 FindSyncRoot(scoped_ptr<SyncTaskToken> token) argument 162 DidFindSyncRoot( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileList> file_list) argument 229 CreateSyncRoot(scoped_ptr<SyncTaskToken> token) argument 240 DidCreateSyncRoot( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileResource> entry) argument 258 DetachSyncRoot(scoped_ptr<SyncTaskToken> token) argument 270 DidDetachSyncRoot( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error) argument 286 ListAppRootFolders( scoped_ptr<SyncTaskToken> token) argument 298 DidListAppRootFolders( scoped_ptr<SyncTaskToken> token, google_apis::GDataErrorCode error, scoped_ptr<google_apis::FileList> file_list) argument 339 PopulateDatabase( scoped_ptr<SyncTaskToken> token) argument [all...] |
H A D | sync_task_token.cc | 68 // it must return the token to TaskManager. 69 // Destroying a token with valid |client| indicates the token was 76 // Reinitializes the token. 89 scoped_ptr<SyncTaskToken> token) { 90 return base::Bind(&SyncTaskManager::NotifyTaskDone, base::Passed(&token)); 88 WrapToCallback( scoped_ptr<SyncTaskToken> token) argument
|
/external/chromium_org/chrome/browser/ui/ |
H A D | auto_login_infobar_delegate.cc | 61 virtual void OnUbertokenSuccess(const std::string& token) OVERRIDE; 69 void RedirectToMergeSession(const std::string& token); 105 void AutoLoginRedirector::OnUbertokenSuccess(const std::string& token) { argument 106 RedirectToMergeSession(token); 112 LOG(WARNING) << "AutoLoginRedirector: token request failed"; 116 void AutoLoginRedirector::RedirectToMergeSession(const std::string& token) { argument 120 "?source=chrome&uberauth=" + token + "&" + args_),
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | gconf_listener.cc | 145 base::StringPiece token = tokenizer.token_piece(); local 146 if (token == "minimize") { 149 } else if (token == "maximize") { 152 } else if (token == "close") {
|
/external/chromium_org/chrome_elf/ |
H A D | breakpad.cc | 69 // Get the current token. 70 HANDLE token = NULL; local 72 if (!::OpenProcessToken(::GetCurrentProcess(), TOKEN_QUERY, &token)) 80 if (::GetTokenInformation(token, TokenUser, user, size, &size) && 87 CloseHandle(token);
|
/external/chromium_org/components/invalidation/ |
H A D | invalidation_notifier.cc | 67 const std::string& email, const std::string& token) { 80 invalidation_listener_.UpdateCredentials(email, token); 66 UpdateCredentials( const std::string& email, const std::string& token) argument
|
H A D | push_client_channel.cc | 41 const std::string& email, const std::string& token) { 42 push_client_->UpdateCredentials(email, token); 40 UpdateCredentials( const std::string& email, const std::string& token) argument
|
/external/chromium_org/components/signin/core/browser/ |
H A D | signin_internals_util.h | 16 // Preference prefixes for signin and token values. 64 // An Observer class for authentication and token diagnostic information. 74 const std::string& token, 82 // while preventing outsiders from reverse-engineering the actual token from 73 NotifyTokenReceivedSuccess(const std::string& token_name, const std::string& token, bool update_time) argument
|
/external/chromium_org/extensions/common/ |
H A D | csp_validator.cc | 106 std::string source = tokenizer.token(); 182 std::string directive_name = tokenizer.token(); 222 std::string directive_name = tokenizer.token(); 231 std::string token = tokenizer.token(); local 232 base::StringToLowerASCII(&token); 234 // The same origin token negates the sandboxing. 235 if (token == kAllowSameOriginToken) 240 if (token == kAllowTopNavigation)
|
/external/chromium_org/extensions/renderer/ |
H A D | request_sender.cc | 25 blink::WebUserGestureToken token) 26 : name(name), source(source), token(token) {} 30 blink::WebUserGestureToken token; member in struct:extensions::PendingRequest 136 blink::WebScopedUserGesture gesture(request->token); 23 PendingRequest(const std::string& name, RequestSender::Source* source, blink::WebUserGestureToken token) argument
|
/external/chromium_org/google_apis/drive/ |
H A D | request_sender_unittest.cc | 17 const char kTestRefreshToken[] = "valid-refresh-token"; 18 const char kTestAccessToken[] = "valid-access-token"; 36 // RequestSender should clear the rejected access token before starting 43 const std::string token = variable 45 set_access_token(token); variable 46 callback.Run(HTTP_SUCCESS, token); 146 // Start is called with the specified access token. Let it succeed. 189 // The request is not started at all because no access token is obtained. 208 // Access token should indicate that this is the first retry. 230 // Emulate the case that the access token wa [all...] |
/external/chromium_org/google_apis/gaia/ |
H A D | fake_gaia.h | 36 // Access token details used for token minting and the token info endpoint. 41 std::string token; member in struct:FakeGaia::AccessTokenInfo 63 // OAuth2 refresh and access token generated by /o/oauth2/token call 68 // Uber token response from /OAuthLogin call. 99 // Configures an OAuth2 token that'll be returned when a client requests an 100 // access token for the given auth token, whic [all...] |
H A D | gaia_auth_consumer.h | 36 std::string token; member in struct:GaiaAuthConsumer::ClientLoginResult 51 // OAuth2 refresh token. Used to mint new access tokens when needed. 54 // OAuth2 access token. Token to pass to endpoints that require oauth2 80 virtual void OnUberAuthTokenSuccess(const std::string& token) {} argument
|
H A D | google_service_auth_error.h | 70 // The password is valid but we need two factor to get a token. 96 Captcha(const std::string& token, 106 std::string token; // Globally identifies the specific CAPTCHA challenge. member in struct:GoogleServiceAuthError::Captcha 117 SecondFactor(const std::string& token, 126 std::string token; member in struct:GoogleServiceAuthError::SecondFactor 176 const std::string& token() const;
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | buffer_tracker.h | 70 void set_last_usage_token(int token) { argument 71 last_usage_token_ = token; 108 // of a token. 109 void FreePendingToken(Buffer* buffer, int32 token);
|
H A D | cmd_buffer_helper.cc | 194 // Inserts a new token into the command stream. It uses an increasing value 195 // scheme so that we don't lose tokens (a token has passed if the current token 196 // value is higher than that token). Calls Finish() if the token value wraps, 204 // Increment token as 31-bit integer. Negative values are used to signal an 220 // Waits until the current token value is greater or equal to the value passed 222 void CommandBufferHelper::WaitForToken(int32 token) { argument 227 if (token < 0) 229 if (token > token [all...] |
H A D | fenced_allocator.cc | 109 FencedAllocator::Offset offset, int32 token) { 115 block.token = token; 196 // Waits for the block's token, then mark the block as free, then collapse it. 201 helper_->WaitForToken(block.token); 206 // Frees any blocks pending a token for which the token has been read. 214 helper_->HasTokenPassed(block.token)) { 108 FreePendingToken( FencedAllocator::Offset offset, int32 token) argument
|