/external/chromium_org/google_apis/gaia/ |
oauth2_token_service_unittest.cc | 97 TestingOAuth2TokenServiceConsumer consumer_; member in class:OAuth2TokenServiceTest 103 &consumer_)); 106 EXPECT_EQ(0, consumer_.number_of_successful_tokens_); 107 EXPECT_EQ(1, consumer_.number_of_errors_); 115 &consumer_)); 118 EXPECT_EQ(0, consumer_.number_of_successful_tokens_); 119 EXPECT_EQ(0, consumer_.number_of_errors_); 125 EXPECT_EQ(0, consumer_.number_of_successful_tokens_); 126 EXPECT_EQ(1, consumer_.number_of_errors_); 135 &consumer_)); [all...] |
oauth2_access_token_fetcher_unittest.cc | 92 fetcher_(&consumer_, request_context_getter_) { 119 MockOAuth2AccessTokenConsumer consumer_; member in class:OAuth2AccessTokenFetcherTest 127 EXPECT_CALL(consumer_, OnGetTokenFailure(_)).Times(1); 136 EXPECT_CALL(consumer_, OnGetTokenFailure(_)).Times(1); 144 EXPECT_CALL(consumer_, OnGetTokenSuccess("at1", _)).Times(1);
|
/external/chromium_org/chrome/browser/signin/ |
ubertoken_fetcher_unittest.cc | 55 fetcher_.reset(new UbertokenFetcher(profile(), &consumer_)); 75 MockUbertokenConsumer consumer_; member in class:UbertokenFetcherTest 88 EXPECT_EQ(0, consumer_.nb_error_); 89 EXPECT_EQ(1, consumer_.nb_correct_token_); 90 EXPECT_EQ("uberToken", consumer_.last_token_); 97 EXPECT_EQ(1, consumer_.nb_error_); 98 EXPECT_EQ(0, consumer_.nb_correct_token_); 109 EXPECT_EQ(1, consumer_.nb_error_); 110 EXPECT_EQ(0, consumer_.nb_correct_token_); 111 EXPECT_EQ("", consumer_.last_token_) [all...] |
profile_oauth2_token_service_request_unittest.cc | 74 TestingOAuth2TokenServiceConsumer consumer_; member in class:__anon5614::ProfileOAuth2TokenServiceRequestTest 99 &consumer_)); 103 EXPECT_EQ(0, consumer_.number_of_successful_tokens_); 104 EXPECT_EQ(1, consumer_.number_of_errors_); 115 &consumer_)); 119 EXPECT_EQ(1, consumer_.number_of_successful_tokens_); 120 EXPECT_EQ(kAccessToken, consumer_.last_token_); 121 EXPECT_EQ(0, consumer_.number_of_errors_); 132 &consumer_)); 137 EXPECT_EQ(0, consumer_.number_of_successful_tokens_) [all...] |
ubertoken_fetcher.cc | 20 : profile_(profile), consumer_(consumer) { 43 consumer_->OnUbertokenSuccess(token); 48 consumer_->OnUbertokenFailure(error); 66 consumer_->OnUbertokenFailure(error);
|
mutable_profile_oauth2_token_service_unittest.cc | 134 TestingOAuth2TokenServiceConsumer consumer_; member in class:MutableProfileOAuth2TokenServiceTest 313 oauth2_service_->GetPrimaryAccountId(), scope_list, &consumer_)); 315 EXPECT_EQ(1, consumer_.number_of_successful_tokens_); 316 EXPECT_EQ(0, consumer_.number_of_errors_); 317 EXPECT_EQ("token", consumer_.last_token_); 333 oauth2_service_->GetPrimaryAccountId(), scope_list, &consumer_); 335 EXPECT_EQ(2, consumer_.number_of_successful_tokens_); 336 EXPECT_EQ(0, consumer_.number_of_errors_); 337 EXPECT_EQ("another token", consumer_.last_token_); 356 oauth2_service_->GetPrimaryAccountId(), scope_list, &consumer_)); [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
authenticator.cc | 12 : consumer_(consumer), 19 consumer_ = consumer;
|
mock_authenticator.cc | 44 consumer_->OnLoginSuccess(UserContext(expected_username_, 51 consumer_->OnRetailModeLoginSuccess(UserContext("demo-mode", 58 consumer_->OnLoginSuccess(UserContext(expected_username_, 66 consumer_->OnLoginSuccess(UserContext(expected_username_, 73 consumer_->OnOffTheRecordLoginSuccess(); 77 consumer_->OnRetailModeLoginSuccess(UserContext(expected_username_, 86 consumer_->OnLoginSuccess(UserContext(expected_username_, 93 consumer_->OnLoginFailure(failure);
|
authenticator.h | 23 // 1. On successful authentication, will call consumer_->OnLoginSuccess(). 24 // 2. On failure, will call consumer_->OnLoginFailure(). 25 // 3. On password change, will call consumer_->OnPasswordChangeDetected(). 96 LoginStatusConsumer* consumer_; member in class:chromeos::Authenticator
|
parallel_authenticator_unittest.cc | 77 auth_ = new ParallelAuthenticator(&consumer_); 108 ON_CALL(consumer_, OnLoginFailure(_)) 115 ON_CALL(consumer_, OnRetailModeLoginSuccess(_)) 122 ON_CALL(consumer_, OnLoginSuccess(_)) 129 ON_CALL(consumer_, OnOffTheRecordLoginSuccess()) 134 EXPECT_CALL(consumer_, OnLoginFailure(failure)) 140 EXPECT_CALL(consumer_, OnRetailModeLoginSuccess(_)) 149 EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(username, 159 EXPECT_CALL(consumer_, OnOffTheRecordLoginSuccess()) 165 EXPECT_CALL(consumer_, OnPasswordChangeDetected() 203 MockConsumer consumer_; member in class:chromeos::ParallelAuthenticatorTest [all...] |
/external/chromium/base/win/ |
event_trace_consumer_unittest.cc | 5 // Unit tests for event trace consumer_ base class. 91 TestConsumer consumer_; local 95 TestConsumer consumer_; local 97 ASSERT_HRESULT_SUCCEEDED(consumer_.OpenRealtimeSession(kTestSessionName)); 101 TestConsumer consumer_; local 103 ASSERT_HRESULT_SUCCEEDED(consumer_.OpenRealtimeSession(kTestSessionName)); 104 ASSERT_HRESULT_FAILED(consumer_.Consume()); 112 ASSERT_HRESULT_SUCCEEDED(consumer_.OpenRealtimeSession(kTestSessionName)); 116 consumer_.Close(); 122 HRESULT hr = consumer_.Consume() 179 TestConsumer consumer_; member in class:__anon1520::EtwTraceConsumerRealtimeTest 297 TestConsumer consumer_; local [all...] |
/external/chromium_org/base/win/ |
event_trace_consumer_unittest.cc | 110 TestConsumer consumer_; local 114 TestConsumer consumer_; local 117 consumer_.OpenRealtimeSession(session_name_.c_str())); 121 TestConsumer consumer_; local 124 consumer_.OpenRealtimeSession(session_name_.c_str())); 125 ASSERT_HRESULT_FAILED(consumer_.Consume()); 136 consumer_.OpenRealtimeSession(session_name_.c_str())); 140 consumer_.Close(); 148 HRESULT hr = consumer_.Consume(); 171 // The event was set, the consumer_ is ready 205 TestConsumer consumer_; member in class:base::win::__anon3766::EtwTraceConsumerRealtimeTest 327 TestConsumer consumer_; local [all...] |
/external/chromium_org/chrome/browser/chromeos/login/managed/ |
locally_managed_user_creation_controller.cc | 73 : consumer_(consumer), 128 consumer_->OnLongCreationWarning(); 175 if (consumer_) 176 consumer_->OnCreationError(code); 226 if (consumer_) 227 consumer_->OnCreationError(CLOUD_SERVER_ERROR); 233 if (consumer_) 234 consumer_->OnCreationTimeout(); 275 if (consumer_) 276 consumer_->OnCreationError(TOKEN_WRITE_FAILED) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
authenticator.h | 20 // consumer_->OnLoginSuccess() on the UI thread. 21 // On failure, will call consumer_->OnLoginFailure() on the UI thread. 23 // consumer_->OnPasswordChangeDetected() on the UI thread. 54 // |request_pending| is true if we still plan to call consumer_ with the 97 LoginStatusConsumer* consumer_; member in class:chromeos::Authenticator
|
mock_authenticator.h | 62 consumer_->OnOffTheRecordLoginSuccess(); 69 consumer_->OnLoginSuccess(expected_username_, 76 consumer_->OnLoginFailure(failure);
|
authenticator.cc | 21 : consumer_(consumer) {
|
parallel_authenticator.h | 84 // |username|, we will call consumer_->OnLoginSuccess() with |username| and a 88 // request completes, either consumer_->OnLoginSuccess() with an indication 90 // consumer_->OnLoginFailure() if appropriate. 93 // offline fails, then online fails) consumer_->OnLoginFailure() is called 97 // consumer_->OnPasswordChangeDetected() is called. 148 // Attempts to make a decision and call back |consumer_| based on 151 // When a decision is made, will call back to |consumer_| on the UI thread.
|
/external/chromium_org/components/webdata/common/ |
web_data_request_manager.h | 45 // Retrieves the |consumer_| set in the constructor. 55 // our consumer_ reference is invalid. 80 // Cancellation affects both the |cancelled_| flag and |consumer_|. 85 WebDataServiceConsumer* consumer_; member in class:WebDataRequest
|
web_data_request_manager.cc | 19 : manager_(manager), cancelled_(false), consumer_(consumer) { 39 return consumer_; 54 consumer_ = NULL;
|
/external/chromium_org/chrome/browser/net/gaia/ |
gaia_oauth_fetcher.cc | 34 : consumer_(consumer), 427 consumer_->OnGetOAuthTokenSuccess(token); 434 consumer_->OnGetOAuthTokenFailure( 448 consumer_->OnOAuthLoginSuccess(sid, lsid, auth); 455 consumer_->OnOAuthLoginFailure( 469 consumer_->OnOAuthGetAccessTokenSuccess(token, secret); 476 consumer_->OnOAuthGetAccessTokenFailure(GenerateAuthError(data, status, 490 consumer_->OnOAuthWrapBridgeSuccess(service_scope_, token, expires_in); 496 consumer_->OnOAuthWrapBridgeFailure(service_scope_, 506 consumer_->OnOAuthRevokeTokenSuccess() [all...] |
/external/chromium/chrome/browser/ |
possible_url_model.cc | 65 consumer_.CancelAllRequests(); 75 hs->QueryHistory(string16(), options, &consumer_, local 166 result.url, history::FAVICON, &consumer_, 168 consumer_.SetClientData(favicon_service, h, result.index); 191 size_t index = consumer_.GetClientData(favicon_service, h);
|
possible_url_model.h | 57 CancelableRequestConsumerT<size_t, NULL> consumer_; member in class:PossibleURLModel
|
/external/chromium_org/chrome/browser/common/ |
cancelable_request.cc | 94 consumer_(NULL), 105 DCHECK(handle_ == 0 && provider_ == NULL && consumer_ == NULL); 107 consumer_ = consumer;
|
/external/chromium/base/debug/ |
trace_event_win_unittest.cc | 174 EXPECT_CALL(consumer_, Event(guid, 182 EXPECT_CALL(consumer_, Event(kEventTraceGuid, _, _, _)) 191 consumer_.OpenFileSession(log_file_.value().c_str())); 193 ASSERT_HRESULT_SUCCEEDED(consumer_.Consume()); 201 TestEventConsumer consumer_; member in namespace:base::debug::__anon1346
|
/external/chromium_org/base/debug/ |
trace_event_win_unittest.cc | 180 EXPECT_CALL(consumer_, Event(guid, 188 EXPECT_CALL(consumer_, Event(kEventTraceGuid, _, _, _)) 197 consumer_.OpenFileSession(log_file_.value().c_str())); 199 ASSERT_HRESULT_SUCCEEDED(consumer_.Consume()); 207 TestEventConsumer consumer_; member in namespace:base::debug::__anon3443
|