Searched defs:consumer_ (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/google_apis/gaia/
H A Doauth2_access_token_fetcher.h45 // Fires |OnGetTokenSuccess| on |consumer_|.
49 // Fires |OnGetTokenFailure| on |consumer_|.
53 OAuth2AccessTokenConsumer* const consumer_; member in class:OAuth2AccessTokenFetcher
H A Dubertoken_fetcher_unittest.cc54 &consumer_,
67 MockUbertokenConsumer consumer_; member in class:UbertokenFetcherTest
79 EXPECT_EQ(0, consumer_.nb_error_);
80 EXPECT_EQ(1, consumer_.nb_correct_token_);
81 EXPECT_EQ("uberToken", consumer_.last_token_);
89 EXPECT_EQ(1, consumer_.nb_error_);
90 EXPECT_EQ(0, consumer_.nb_correct_token_);
98 EXPECT_EQ(1, consumer_.nb_error_);
99 EXPECT_EQ(0, consumer_.nb_correct_token_);
100 EXPECT_EQ("", consumer_
[all...]
H A Dubertoken_fetcher.h73 UbertokenConsumer* consumer_; member in class:UbertokenFetcher
H A Doauth2_access_token_fetcher_impl_unittest.cc89 fetcher_(&consumer_, request_context_getter_.get(), "refresh_token") {
118 MockOAuth2AccessTokenConsumer consumer_; member in class:OAuth2AccessTokenFetcherImplTest
127 EXPECT_CALL(consumer_, OnGetTokenFailure(_)).Times(1);
136 EXPECT_CALL(consumer_, OnGetTokenFailure(_)).Times(1);
144 EXPECT_CALL(consumer_, OnGetTokenSuccess("at1", _)).Times(1);
H A Doauth2_token_service.h225 // Informs |consumer_| that this request is completed.
231 // |consumer_| to call back when this request completes.
233 Consumer* const consumer_; member in class:OAuth2TokenService::RequestImpl
H A Doauth2_token_service_unittest.cc113 TestingOAuth2TokenServiceConsumer consumer_; member in class:OAuth2TokenServiceTest
119 &consumer_));
122 EXPECT_EQ(0, consumer_.number_of_successful_tokens_);
123 EXPECT_EQ(1, consumer_.number_of_errors_);
131 &consumer_));
134 EXPECT_EQ(0, consumer_.number_of_successful_tokens_);
135 EXPECT_EQ(0, consumer_.number_of_errors_);
141 EXPECT_EQ(0, consumer_.number_of_successful_tokens_);
142 EXPECT_EQ(1, consumer_.number_of_errors_);
151 &consumer_));
[all...]
H A Doauth2_token_service_request.cc187 OAuth2TokenService::Consumer* const consumer_; member in class:__anon8358::RequestCore::OAuth2TokenService
208 consumer_(consumer),
211 DCHECK(consumer_);
257 consumer_->OnGetTokenSuccess(owner(), access_token, expiration_time);
264 consumer_->OnGetTokenFailure(owner(), error);
H A Doauth2_token_service_request_unittest.cc172 TestingOAuth2TokenServiceConsumer consumer_; member in class:__anon8359::OAuth2TokenServiceRequestTest
213 provider_.get(), kAccountId, scopes_, &consumer_));
215 EXPECT_EQ(0, consumer_.num_get_token_success_);
216 EXPECT_EQ(1, consumer_.num_get_token_failure_);
218 consumer_.last_error_.state());
225 provider_.get(), kAccountId, scopes_, &consumer_));
227 EXPECT_EQ(1, consumer_.num_get_token_success_);
228 EXPECT_EQ(0, consumer_.num_get_token_failure_);
229 EXPECT_EQ(kAccessToken, consumer_.last_token_);
237 provider_.get(), kAccountId, scopes_, &consumer_));
[all...]
/external/chromium_org/chromeos/login/auth/
H A Dauthenticator.h24 // 1. On successful authentication, will call consumer_->OnAuthSuccess().
25 // 2. On failure, will call consumer_->OnAuthFailure().
26 // 3. On password change, will call consumer_->OnPasswordChangeDetected().
99 AuthStatusConsumer* consumer_; member in class:chromeos::Authenticator
H A Dfake_extended_authenticator.h55 NewAuthStatusConsumer* consumer_; member in class:chromeos::FakeExtendedAuthenticator
H A Dextended_authenticator_impl.h95 NewAuthStatusConsumer* consumer_; member in class:chromeos::ExtendedAuthenticatorImpl
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_creation_controller.h100 StatusConsumer* consumer_; member in class:chromeos::SupervisedUserCreationController
H A Dsupervised_user_authenticator.h108 AuthStatusConsumer* consumer_; member in class:chromeos::SupervisedUserAuthenticator
/external/chromium_org/components/signin/core/browser/
H A Dsignin_oauth_helper.h57 Consumer* consumer_; member in class:SigninOAuthHelper
H A Dmutable_profile_oauth2_token_service_unittest.cc125 TestingOAuth2TokenServiceConsumer consumer_; member in class:MutableProfileOAuth2TokenServiceTest
325 oauth2_service_.StartRequest(kEmail, scope_list, &consumer_));
327 EXPECT_EQ(1, consumer_.number_of_successful_tokens_);
328 EXPECT_EQ(0, consumer_.number_of_errors_);
329 EXPECT_EQ("token", consumer_.last_token_);
344 request = oauth2_service_.StartRequest(kEmail, scope_list, &consumer_);
346 EXPECT_EQ(2, consumer_.number_of_successful_tokens_);
347 EXPECT_EQ(0, consumer_.number_of_errors_);
348 EXPECT_EQ("another token", consumer_.last_token_);
366 oauth2_service_.StartRequest(kEmail, scope_list, &consumer_));
[all...]
/external/chromium_org/components/webdata/common/
H A Dweb_data_request_manager.h44 // Retrieves the |consumer_| set in the constructor.
54 // our consumer_ reference is invalid.
79 // Cancellation affects both the |cancelled_| flag and |consumer_|.
84 WebDataServiceConsumer* consumer_; member in class:WebDataRequest
/external/chromium_org/net/base/
H A Dsdch_dictionary_fetcher.h73 SdchFetcher::Delegate* const consumer_; member in class:net::SdchDictionaryFetcher::SdchFetcher
/external/chromium_org/content/browser/media/capture/
H A Dweb_contents_audio_muter.cc33 : consumer_(media::AudioManager::Get()->GetWorkerTaskRunner(), params) {}
38 consumer_.Start(base::Bind(&AudioDiscarder::FetchAudioData, callback));
40 virtual void Stop() OVERRIDE { consumer_.Stop(); }
54 media::FakeAudioConsumer consumer_; member in class:content::__anon7250::AudioDiscarder
/external/chromium_org/base/debug/
H A Dtrace_event_win_unittest.cc180 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::__anon2243
/external/chromium_org/ipc/
H A Dipc_logging.h118 Consumer* consumer_; member in class:IPC::Logging
/external/chromium_org/base/win/
H A Devent_trace_consumer_unittest.cc109 TestConsumer consumer_; local
113 TestConsumer consumer_; local
115 consumer_.OpenRealtimeSession(session_name_.c_str()));
119 TestConsumer consumer_; local
121 consumer_.OpenRealtimeSession(session_name_.c_str()));
122 ASSERT_HRESULT_FAILED(consumer_.Consume());
132 consumer_.OpenRealtimeSession(session_name_.c_str()));
136 consumer_.Close();
142 return consumer_.Consume();
163 // The event was set, the consumer_ i
194 TestConsumer consumer_; member in class:base::win::__anon2596::EtwTraceConsumerRealtimeTest
311 TestConsumer consumer_; local
[all...]
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_oauth2_token_service_unittest.cc74 &consumer_);
188 TestingOAuth2TokenServiceConsumer consumer_; member in class:chromeos::DeviceOAuth2TokenServiceTest
238 EXPECT_EQ(num_tokens, consumer_.number_of_successful_tokens_);
239 EXPECT_EQ(num_errors, consumer_.number_of_errors_);
280 EXPECT_EQ("scoped_access_token", consumer_.last_token_);
298 EXPECT_EQ("scoped_access_token", consumer_.last_token_);
/external/chromium_org/chrome/browser/ui/webui/
H A Didentity_internals_ui.cc132 IdentityInternalsUIMessageHandler* consumer_; // weak. member in class:__anon5488::IdentityInternalsTokenRevoker
263 consumer_(consumer) {
264 DCHECK(consumer_);
271 consumer_->OnTokenRevokerDone(this);
/external/chromium_org/remoting/client/
H A Dsoftware_video_renderer.cc109 scoped_refptr<FrameConsumerProxy> consumer_; member in class:remoting::SoftwareVideoRenderer::Core
137 consumer_(consumer),
162 if (consumer_->GetPixelFormat() == FrameConsumer::FORMAT_RGBA) {
205 consumer_->SetSourceSize(source_size_, source_dpi_);
248 consumer_->ApplyBuffer(view_size_, clip_area_, buffer, output_region,
258 consumer_->ReturnBuffer(buffers_.front());
308 consumer_->ReturnBuffer(*i);
/external/chromium_org/chrome/browser/chromeos/login/auth/
H A Dcryptohome_authenticator_unittest.cc171 auth_ = new ChromeCryptohomeAuthenticator(&consumer_);
204 ON_CALL(consumer_, OnAuthFailure(_))
211 ON_CALL(consumer_, OnRetailModeAuthSuccess(_)).WillByDefault(
218 ON_CALL(consumer_, OnAuthSuccess(_))
225 ON_CALL(consumer_, OnOffTheRecordAuthSuccess()).WillByDefault(
230 EXPECT_CALL(consumer_, OnAuthFailure(failure))
236 EXPECT_CALL(consumer_, OnRetailModeAuthSuccess(_))
242 EXPECT_CALL(consumer_, OnAuthSuccess(user_context))
248 EXPECT_CALL(consumer_, OnOffTheRecordAuthSuccess())
254 EXPECT_CALL(consumer_, OnPasswordChangeDetecte
346 MockAuthStatusConsumer consumer_; member in class:chromeos::CryptohomeAuthenticatorTest
[all...]

Completed in 418 milliseconds

12