Home
last modified time | relevance | path

Searched refs:consumer (Results 1 – 25 of 214) sorted by relevance

123456789

/external/chromium/chrome/browser/chromeos/login/
Dgoogle_authenticator_unittest.cc218 MockConsumer consumer; in TEST_F() local
219 EXPECT_CALL(consumer, OnLoginSuccess(username_, password_, _, false)) in TEST_F()
227 scoped_refptr<GoogleAuthenticator> auth(new GoogleAuthenticator(&consumer)); in TEST_F()
235 MockConsumer consumer; in TEST_F() local
236 EXPECT_CALL(consumer, OnLoginFailure(_)) in TEST_F()
244 scoped_refptr<GoogleAuthenticator> auth(new GoogleAuthenticator(&consumer)); in TEST_F()
250 MockConsumer consumer; in TEST_F() local
251 EXPECT_CALL(consumer, OnPasswordChangeDetected(result_)) in TEST_F()
254 EXPECT_CALL(consumer, OnLoginSuccess(username_, password_, result_, false)) in TEST_F()
273 scoped_refptr<GoogleAuthenticator> auth(new GoogleAuthenticator(&consumer)); in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php72 * @param OAuthConsumer $consumer
76 abstract public function build_signature($request, $consumer, $token); argument
81 * @param OAuthConsumer $consumer
86 public function check_signature($request, $consumer, $token, $signature) { argument
87 $built = $this->build_signature($request, $consumer, $token);
104 public function build_signature($request, $consumer, $token) { argument
109 $consumer->secret,
139 public function build_signature($request, $consumer, $token) { argument
141 $consumer->secret,
180 public function build_signature($request, $consumer, $token) { argument
[all …]
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php72 * @param OAuthConsumer $consumer
76 abstract public function build_signature($request, $consumer, $token); argument
81 * @param OAuthConsumer $consumer
86 public function check_signature($request, $consumer, $token, $signature) { argument
87 $built = $this->build_signature($request, $consumer, $token);
104 public function build_signature($request, $consumer, $token) { argument
109 $consumer->secret,
139 public function build_signature($request, $consumer, $token) { argument
141 $consumer->secret,
180 public function build_signature($request, $consumer, $token) { argument
[all …]
/external/chromium_org/components/autofill/core/browser/webdata/
Dweb_data_service_unittest.cc233 AutofillWebDataServiceConsumer<std::vector<base::string16> > consumer; in TEST_F() local
237 name1_, base::string16(), limit, &consumer); in TEST_F()
242 EXPECT_EQ(handle, consumer.handle()); in TEST_F()
243 ASSERT_EQ(1U, consumer.result().size()); in TEST_F()
244 EXPECT_EQ(value1_, consumer.result()[0]); in TEST_F()
315 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; in TEST_F() local
316 WebDataServiceBase::Handle handle = wds_->GetAutofillProfiles(&consumer); in TEST_F()
318 EXPECT_EQ(handle, consumer.handle()); in TEST_F()
319 ASSERT_EQ(1U, consumer.result().size()); in TEST_F()
320 EXPECT_EQ(profile, *consumer.result()[0]); in TEST_F()
[all …]
/external/chromium_org/google_apis/gaia/
Dgaia_auth_fetcher_unittest.cc228 MockGaiaConsumer consumer; in TEST_F() local
229 EXPECT_CALL(consumer, OnClientLoginFailure(expected_error)) in TEST_F()
232 GaiaAuthFetcher auth(&consumer, std::string(), GetRequestContext()); in TEST_F()
247 MockGaiaConsumer consumer; in TEST_F() local
248 EXPECT_CALL(consumer, OnIssueAuthTokenFailure(_, expected_error)) in TEST_F()
251 GaiaAuthFetcher auth(&consumer, std::string(), GetRequestContext()); in TEST_F()
267 MockGaiaConsumer consumer; in TEST_F() local
268 EXPECT_CALL(consumer, OnClientLoginFailure(expected_error)) in TEST_F()
271 GaiaAuthFetcher auth(&consumer, std::string(), GetRequestContext()); in TEST_F()
314 MockGaiaConsumer consumer; in TEST_F() local
[all …]
/external/chromium/chrome/browser/webdata/
Dweb_data_service_unittest.cc178 AutofillWebDataServiceConsumer<std::vector<string16> > consumer; in TEST_F() local
182 name1_, string16(), limit, &consumer); in TEST_F()
187 EXPECT_EQ(handle, consumer.handle()); in TEST_F()
188 ASSERT_EQ(1U, consumer.result().size()); in TEST_F()
189 EXPECT_EQ(value1_, consumer.result()[0]); in TEST_F()
272 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; in TEST_F() local
273 WebDataService::Handle handle = wds_->GetAutofillProfiles(&consumer); in TEST_F()
275 EXPECT_EQ(handle, consumer.handle()); in TEST_F()
276 ASSERT_EQ(1U, consumer.result().size()); in TEST_F()
277 EXPECT_EQ(profile, *consumer.result()[0]); in TEST_F()
[all …]
/external/chromium/chrome/common/net/gaia/
Dgaia_auth_fetcher_unittest.cc156 MockGaiaConsumer consumer; in TEST_F() local
157 EXPECT_CALL(consumer, OnClientLoginFailure(expected_error)) in TEST_F()
160 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
178 MockGaiaConsumer consumer; in TEST_F() local
179 EXPECT_CALL(consumer, OnIssueAuthTokenFailure(_, expected_error)) in TEST_F()
182 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
201 MockGaiaConsumer consumer; in TEST_F() local
202 EXPECT_CALL(consumer, OnClientLoginFailure(expected_error)) in TEST_F()
205 GaiaAuthFetcher auth(&consumer, std::string(), in TEST_F()
250 MockGaiaConsumer consumer; in TEST_F() local
[all …]
/external/chromium/chrome/browser/geolocation/
Daccess_token_store_browsertest.cc44 CancelableRequestConsumerBase* consumer, in StartTestStepFromClientThread() argument
49 (*store)->LoadAccessTokens(consumer, callback); in StartTestStepFromClientThread()
61 CancelableRequestConsumer consumer; in RunCancelTestInClientTread() local
66 store->LoadAccessTokens(&consumer, NewCallback( in RunCancelTestInClientTread()
68 EXPECT_TRUE(consumer.HasPendingRequests()); in RunCancelTestInClientTread()
70 consumer.GetClientData(store.get(), first_handle); in RunCancelTestInClientTread()
72 EXPECT_FALSE(consumer.HasPendingRequests()); in RunCancelTestInClientTread()
75 store->LoadAccessTokens(&consumer, NewCallback( in RunCancelTestInClientTread()
77 store->LoadAccessTokens(&consumer, NewCallback( in RunCancelTestInClientTread()
79 EXPECT_TRUE(consumer.HasPendingRequests()); in RunCancelTestInClientTread()
[all …]
/external/oauth/core/src/main/java/net/oauth/
DConsumerProperties.java74 OAuthConsumer consumer; in getConsumer() local
76 consumer = pool.get(name); in getConsumer()
78 if (consumer == null) { in getConsumer()
79 consumer = newConsumer(name); in getConsumer()
84 pool.put(name, consumer); in getConsumer()
90 consumer = first; in getConsumer()
93 return consumer; in getConsumer()
105 OAuthConsumer consumer = new OAuthConsumer(consumerProperties in newConsumer() local
109 consumer.setProperty("name", name); in newConsumer()
111 consumer.setProperty("serviceProvider.baseURL", baseURL); in newConsumer()
[all …]
/external/chromium_org/ui/events/gestures/
Dgesture_recognizer_impl.cc31 void RemoveConsumerFromMap(GestureConsumer* consumer, in RemoveConsumerFromMap() argument
35 if (i->second == consumer) in RemoveConsumerFromMap()
142 GestureConsumer* consumer, in GetLastTouchPointForTarget() argument
144 if (consumer_sequence_.count(consumer) == 0) in GetLastTouchPointForTarget()
147 *point = consumer_sequence_[consumer]->last_touch_location(); in GetLastTouchPointForTarget()
152 GestureConsumer* consumer) { in CancelActiveTouches() argument
156 if (i->second == consumer) in CancelActiveTouches()
174 GestureConsumer* consumer) { in GetGestureSequenceForConsumer() argument
175 GestureSequence* gesture_sequence = consumer_sequence_[consumer]; in GetGestureSequenceForConsumer()
178 consumer_sequence_[consumer] = gesture_sequence; in GetGestureSequenceForConsumer()
[all …]
/external/llvm/tools/llvm-diff/
DDifferenceEngine.h39 Engine.consumer.enterContext(L, R); in Context()
43 Engine.consumer.exitContext(); in ~Context()
61 DifferenceEngine(Consumer &consumer) in DifferenceEngine() argument
62 : consumer(consumer), globalValueOracle(0) {} in DifferenceEngine()
67 consumer.log(text); in log()
70 return LogBuilder(consumer, text); in logf()
72 Consumer& getConsumer() const { return consumer; } in getConsumer()
86 Consumer &consumer;
/external/chromium_org/chrome/browser/history/android/
Dandroid_history_provider_service.cc27 CancelableRequestConsumerBase* consumer, in QueryHistoryAndBookmarks() argument
30 AddRequest(request, consumer); in QueryHistoryAndBookmarks()
48 CancelableRequestConsumerBase* consumer, in UpdateHistoryAndBookmarks() argument
51 AddRequest(request, consumer); in UpdateHistoryAndBookmarks()
68 CancelableRequestConsumerBase* consumer, in DeleteHistoryAndBookmarks() argument
71 AddRequest(request, consumer); in DeleteHistoryAndBookmarks()
87 CancelableRequestConsumerBase* consumer, in InsertHistoryAndBookmark() argument
90 AddRequest(request, consumer); in InsertHistoryAndBookmark()
106 CancelableRequestConsumerBase* consumer, in DeleteHistory() argument
109 AddRequest(request, consumer); in DeleteHistory()
[all …]
Dandroid_history_provider_service.h74 CancelableRequestConsumerBase* consumer,
87 CancelableRequestConsumerBase* consumer,
100 CancelableRequestConsumerBase* consumer,
106 CancelableRequestConsumerBase* consumer,
113 CancelableRequestConsumerBase* consumer,
123 CancelableRequestConsumerBase* consumer,
134 CancelableRequestConsumerBase* consumer,
146 CancelableRequestConsumerBase* consumer,
157 CancelableRequestConsumerBase* consumer,
171 CancelableRequestConsumerBase* consumer,
/external/chromium_org/net/quic/
Dquic_end_to_end_unittest.cc197 void CheckResponse(const TestTransactionConsumer& consumer, in CheckResponse() argument
200 ASSERT_TRUE(consumer.is_done()); in CheckResponse()
201 EXPECT_EQ(OK, consumer.error()); in CheckResponse()
203 consumer.response_info()->headers->GetStatusLine()); in CheckResponse()
204 EXPECT_EQ(body, consumer.content()); in CheckResponse()
235 TestTransactionConsumer consumer(DEFAULT_PRIORITY, in TEST_F() local
237 consumer.Start(&request_, BoundNetLog()); in TEST_F()
242 CheckResponse(consumer, "HTTP/1.1 200 OK", response); in TEST_F()
253 TestTransactionConsumer consumer(DEFAULT_PRIORITY, in TEST_F() local
255 consumer.Start(&request_, BoundNetLog()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/password_manager/
Dpassword_store.cc26 PasswordStoreConsumer* consumer, in RunConsumerCallbackIfNotCanceled() argument
34 consumer->OnGetPasswordStoreResults(*matched_forms); in RunConsumerCallbackIfNotCanceled()
40 PasswordStoreConsumer* consumer, in PostConsumerCallback() argument
59 is_canceled_cb, consumer, base::Owned(matched_forms_copy))); in PostConsumerCallback()
124 PasswordStoreConsumer* consumer) { in GetLogins() argument
145 consumer->cancelable_task_tracker()->NewTrackedTaskId(&is_canceled_cb); in GetLogins()
151 consumer, in GetLogins()
159 PasswordStoreConsumer* consumer) { in GetAutofillableLogins() argument
160 return Schedule(&PasswordStore::GetAutofillableLoginsImpl, consumer); in GetAutofillableLogins()
164 PasswordStoreConsumer* consumer) { in GetBlacklistLogins() argument
[all …]
Dpassword_store_win_unittest.cc199 MockPasswordStoreConsumer consumer; in TEST_F() local
202 ON_CALL(consumer, OnGetPasswordStoreResults(_)) in TEST_F()
235 EXPECT_CALL(consumer, in TEST_F()
239 store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer); in TEST_F()
265 MockPasswordStoreConsumer consumer; in TEST_F() local
266 store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer); in TEST_F()
372 MockPasswordStoreConsumer consumer; in TEST_F() local
375 ON_CALL(consumer, OnGetPasswordStoreResults(_)) in TEST_F()
380 EXPECT_CALL(consumer, in TEST_F()
384 store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/net/gaia/
Dgaia_oauth_fetcher_unittest.cc58 MockGaiaOAuthFetcher(GaiaOAuthConsumer* consumer, in MockGaiaOAuthFetcher() argument
62 consumer, getter, service_scope) {} in MockGaiaOAuthFetcher()
112 MockGaiaOAuthConsumer consumer;
113 EXPECT_CALL(consumer, OnGetOAuthTokenSuccess(oauth_token)).Times(1);
117 MockGaiaOAuthFetcher oauth_fetcher(&consumer,
137 MockGaiaOAuthConsumer consumer; in TEST_F() local
138 EXPECT_CALL(consumer, in TEST_F()
143 MockGaiaOAuthFetcher oauth_fetcher(&consumer, in TEST_F()
175 MockGaiaOAuthConsumer consumer; in TEST_F() local
176 EXPECT_CALL(consumer, in TEST_F()
[all …]
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
D__init__.py68 def build_xoauth_string(url, consumer, token=None): argument
70 request = Request.from_consumer_and_token(consumer, token,
74 request.sign_request(signing_method, consumer, token)
394 def sign_request(self, signature_method, consumer, token): argument
398 self['oauth_consumer_key'] = consumer.key
404 self['oauth_signature'] = signature_method.sign(self, consumer, token)
453 def from_consumer_and_token(cls, consumer, token=None, argument
459 'oauth_consumer_key': consumer.key,
518 def __init__(self, consumer, token=None, cache=None, timeout=None, argument
521 if consumer is not None and not isinstance(consumer, Consumer):
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
D__init__.py68 def build_xoauth_string(url, consumer, token=None): argument
70 request = Request.from_consumer_and_token(consumer, token,
74 request.sign_request(signing_method, consumer, token)
394 def sign_request(self, signature_method, consumer, token): argument
398 self['oauth_consumer_key'] = consumer.key
404 self['oauth_signature'] = signature_method.sign(self, consumer, token)
453 def from_consumer_and_token(cls, consumer, token=None, argument
459 'oauth_consumer_key': consumer.key,
518 def __init__(self, consumer, token=None, cache=None, timeout=None, argument
521 if consumer is not None and not isinstance(consumer, Consumer):
[all …]
/external/chromium_org/chrome/browser/common/
Dcancelable_request.cc13 CancelableRequestConsumerBase* consumer) { in AddRequest() argument
25 consumer->OnRequestAdded(this, handle); in AddRequest()
27 request->Init(this, handle, consumer); in AddRequest()
55 item->second->consumer()->OnRequestRemoved(this, item->first); in CancelRequestLocked()
61 CancelableRequestConsumerBase* consumer = NULL; in RequestCompleted() local
70 consumer = i->second->consumer(); in RequestCompleted()
80 consumer->OnRequestRemoved(this, handle); in RequestCompleted()
104 CancelableRequestConsumerBase* consumer) { in Init() argument
107 consumer_ = consumer; in Init()
/external/chromium/chrome/browser/password_manager/
Dpassword_store.cc68 const PasswordForm& form, PasswordStoreConsumer* consumer) { in GetLogins() argument
69 return Schedule(&PasswordStore::GetLoginsImpl, consumer, form); in GetLogins()
73 PasswordStoreConsumer* consumer) { in GetAutofillableLogins() argument
74 return Schedule(&PasswordStore::GetAutofillableLoginsImpl, consumer); in GetAutofillableLogins()
78 PasswordStoreConsumer* consumer) { in GetBlacklistLogins() argument
79 return Schedule(&PasswordStore::GetBlacklistLoginsImpl, consumer); in GetBlacklistLogins()
112 BackendFunc func, PasswordStoreConsumer* consumer) { in Schedule() argument
114 NewCallback(consumer, in Schedule()
116 AddRequest(request, consumer->cancelable_consumer()); in Schedule()
123 BackendFunc func, PasswordStoreConsumer* consumer, const ArgA& a) { in Schedule() argument
[all …]
Dpassword_store_win_unittest.cc179 MockPasswordStoreConsumer consumer; in TEST_F() local
182 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
215 EXPECT_CALL(consumer, in TEST_F()
220 store->GetLogins(*form, &consumer); in TEST_F()
252 MockPasswordStoreConsumer consumer; in TEST_F() local
253 store->GetLogins(*form, &consumer); in TEST_F()
452 MockPasswordStoreConsumer consumer; in TEST_F() local
455 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
460 EXPECT_CALL(consumer, in TEST_F()
465 store->GetAutofillableLogins(&consumer); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebMediaStreamSource.cpp174 static PassRefPtr<ConsumerWrapper> create(WebAudioDestinationConsumer* consumer) in create() argument
176 return adoptRef(new ConsumerWrapper(consumer)); in create()
182 WebAudioDestinationConsumer* consumer() { return m_consumer; } in consumer() function in blink::ConsumerWrapper
185 explicit ConsumerWrapper(WebAudioDestinationConsumer* consumer) : m_consumer(consumer) { } in ConsumerWrapper() argument
210 void WebMediaStreamSource::addAudioConsumer(WebAudioDestinationConsumer* consumer) in addAudioConsumer() argument
213 ASSERT(!m_private.isNull() && consumer); in addAudioConsumer()
215 m_private->addAudioConsumer(ConsumerWrapper::create(consumer)); in addAudioConsumer()
218 bool WebMediaStreamSource::removeAudioConsumer(WebAudioDestinationConsumer* consumer) in removeAudioConsumer() argument
221 ASSERT(!m_private.isNull() && consumer); in removeAudioConsumer()
226 if (wrapper->consumer() == consumer) { in removeAudioConsumer()
/external/chromium/chrome/browser/history/
Dhistory.h281 CancelableRequestConsumerBase* consumer,
299 CancelableRequestConsumerBase* consumer,
321 CancelableRequestConsumerBase* consumer,
327 CancelableRequestConsumerBase* consumer,
340 CancelableRequestConsumerBase* consumer,
358 CancelableRequestConsumerBase* consumer,
368 CancelableRequestConsumerBase* consumer,
390 CancelableRequestConsumerBase* consumer,
412 CancelableRequestConsumerBase* consumer,
426 CancelableRequestConsumerBase* consumer,
[all …]
/external/harfbuzz_ng/util/
Dmain-font-text.hh41 consumer (&options) {} in main_font_text_t()
58 consumer.init (&font_opts); in main()
64 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after); in main()
67 consumer.finish (&font_opts); in main()
69 return consumer.failed ? 1 : 0; in main()
76 consumer_t consumer; member

123456789