Home | History | Annotate | Download | only in signin

Lines Matching refs:Consumer

37 // consumer of the request results. The consumer is required to outlive the
38 // request. The request can be deleted. The consumer may be called back
41 // - If the consumer is not called back before the request is deleted, it will
44 // cache will be populated with the fetched results; it is just the consumer
47 // - Otherwise the consumer will be called back with the request and the fetch
62 // Class representing the consumer of a Request passed to |StartRequest|,
64 class Consumer {
66 Consumer();
67 virtual ~Consumer();
68 // |request| is a Request that is started by this consumer and has
114 // |scopes| is the set of scopes to get an access token for, |consumer| is
118 Consumer* consumer);
127 Consumer* consumer);
135 Consumer* consumer);
138 // |StartRequest| will result in a Consumer::OnGetTokenFailure callback.
159 // |consumer| is required to outlive this.
160 explicit RequestImpl(Consumer* consumer);
170 Consumer* const consumer_;
192 // Posts a task to fire the Consumer callback with the cached token. Must
195 Consumer* consumer);
237 Consumer* consumer);