Home | History | Annotate | Download | only in url_request

Lines Matching refs:URLRequest

63 // URLRequest::Interceptor
65 URLRequestJob* URLRequest::Interceptor::MaybeInterceptRedirect(
66 URLRequest* request,
71 URLRequestJob* URLRequest::Interceptor::MaybeInterceptResponse(
72 URLRequest* request) {
77 // URLRequest::Delegate
79 void URLRequest::Delegate::OnReceivedRedirect(URLRequest* request,
84 void URLRequest::Delegate::OnAuthRequired(URLRequest* request,
89 void URLRequest::Delegate::OnCertificateRequested(
90 URLRequest* request,
95 void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request,
101 void URLRequest::Delegate::OnGetCookies(URLRequest* request,
105 void URLRequest::Delegate::OnSetCookie(URLRequest* request,
112 // URLRequest
114 URLRequest::URLRequest(const GURL& url, Delegate* delegate)
125 before_request_callback_(this, &URLRequest::BeforeRequestComplete)) {
135 URLRequest::~URLRequest() {
148 URLRequest::ProtocolFactory* URLRequest::RegisterProtocolFactory(
155 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) {
160 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) {
165 void URLRequest::AppendBytesToUpload(const char* bytes, int bytes_len) {
172 void URLRequest::AppendFileRangeToUpload(
184 void URLRequest::EnableChunkedUpload() {
192 void URLRequest::AppendChunkToUpload(const char* bytes,
201 void URLRequest::set_upload(UploadData* upload) {
206 UploadData* URLRequest::get_upload() {
210 bool URLRequest::has_upload() const {
214 void URLRequest::SetExtraRequestHeaderById(int id, const string& value,
220 void URLRequest::SetExtraRequestHeaderByName(const string& name,
231 void URLRequest::SetExtraRequestHeaders(
240 LoadState URLRequest::GetLoadState() const {
244 uint64 URLRequest::GetUploadProgress() const {
258 void URLRequest::GetResponseHeaderById(int id, string* value) {
263 void URLRequest::GetResponseHeaderByName(const string& name, string* value) {
272 void URLRequest::GetAllResponseHeaders(string* headers) {
281 HostPortPair URLRequest::GetSocketAddress() const {
286 HttpResponseHeaders* URLRequest::response_headers() const {
290 bool URLRequest::GetResponseCookies(ResponseCookies* cookies) {
295 void URLRequest::GetMimeType(string* mime_type) {
300 void URLRequest::GetCharset(string* charset) {
305 int URLRequest::GetResponseCode() {
311 bool URLRequest::IsHandledProtocol(const std::string& scheme) {
316 bool URLRequest::IsHandledURL(const GURL& url) {
326 void URLRequest::AllowFileAccess() {
331 bool URLRequest::IsFileAccessAllowed() {
336 void URLRequest::set_first_party_for_cookies(
341 void URLRequest::set_method(const std::string& method) {
346 void URLRequest::set_referrer(const std::string& referrer) {
351 GURL URLRequest::GetSanitizedReferrer() const {
365 void URLRequest::Start() {
383 void URLRequest::BeforeRequestComplete(int error) {
399 void URLRequest::StartInternal() {
403 void URLRequest::StartJob(URLRequestJob* job) {
429 void URLRequest::Restart() {
435 void URLRequest::RestartWithJob(URLRequestJob *job) {
441 void URLRequest::Cancel() {
445 void URLRequest::SimulateError(int os_error) {
449 void URLRequest::SimulateSSLError(int os_error, const SSLInfo& ssl_info) {
458 void URLRequest::DoCancel(int os_error, const SSLInfo& ssl_info) {
480 bool URLRequest::Read(IOBuffer* dest, int dest_size, int* bytes_read) {
500 void URLRequest::StopCaching() {
505 void URLRequest::ReceivedRedirect(const GURL& location, bool* defer_redirect) {
516 void URLRequest::ResponseStarted() {
534 void URLRequest::FollowDeferredRedirect() {
541 void URLRequest::SetAuth(const string16& username, const string16& password) {
548 void URLRequest::CancelAuth() {
555 void URLRequest::ContinueWithCertificate(X509Certificate* client_cert) {
561 void URLRequest::ContinueDespiteLastError() {
567 void URLRequest::PrepareToRestart() {
582 void URLRequest::OrphanJob() {
588 int URLRequest::Redirect(const GURL& location, int http_status_code) {
645 URLRequestContext* URLRequest::context() const {
649 void URLRequest::set_context(URLRequestContext* context) {
667 int64 URLRequest::GetExpectedContentSize() const {
675 URLRequest::UserData* URLRequest::GetUserData(const void* key) const {
682 void URLRequest::SetUserData(const void* key, UserData* data) {