Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Side by Side Diff: net/url_request/url_request_job.h

Issue 7523042: Add a status message "Waiting for extension Foo..." when there's a request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 void CompleteNotifyDone(); 227 void CompleteNotifyDone();
228 228
229 // Used as an asynchronous callback for Kill to notify the URLRequest 229 // Used as an asynchronous callback for Kill to notify the URLRequest
230 // that we were canceled. 230 // that we were canceled.
231 void NotifyCanceled(); 231 void NotifyCanceled();
232 232
233 // Notifies the job the request should be restarted. 233 // Notifies the job the request should be restarted.
234 // Should only be called if the job has not started a resposne. 234 // Should only be called if the job has not started a resposne.
235 void NotifyRestartRequired(); 235 void NotifyRestartRequired();
236 236
237 // Called when the delegate blocks or unblocks this request when intercepting
238 // certain requests.
239 void SetBlockedOnDelegate();
240 void SetUnblockedOnDelegate();
241
237 // Called to read raw (pre-filtered) data from this Job. 242 // Called to read raw (pre-filtered) data from this Job.
238 // If returning true, data was read from the job. buf will contain 243 // If returning true, data was read from the job. buf will contain
239 // the data, and bytes_read will receive the number of bytes read. 244 // the data, and bytes_read will receive the number of bytes read.
240 // If returning true, and bytes_read is returned as 0, there is no 245 // If returning true, and bytes_read is returned as 0, there is no
241 // additional data to be read. 246 // additional data to be read.
242 // If returning false, an error occurred or an async IO is now pending. 247 // If returning false, an error occurred or an async IO is now pending.
243 // If async IO is pending, the status of the request will be 248 // If async IO is pending, the status of the request will be
244 // URLRequestStatus::IO_PENDING, and buf must remain available until the 249 // URLRequestStatus::IO_PENDING, and buf must remain available until the
245 // operation is completed. See comments on URLRequest::Read for more 250 // operation is completed. See comments on URLRequest::Read for more
246 // info. 251 // info.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 int deferred_redirect_status_code_; 363 int deferred_redirect_status_code_;
359 364
360 ScopedRunnableMethodFactory<URLRequestJob> method_factory_; 365 ScopedRunnableMethodFactory<URLRequestJob> method_factory_;
361 366
362 DISALLOW_COPY_AND_ASSIGN(URLRequestJob); 367 DISALLOW_COPY_AND_ASSIGN(URLRequestJob);
363 }; 368 };
364 369
365 } // namespace net 370 } // namespace net
366 371
367 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_ 372 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698