Chromium Code Reviews| Index: chrome/browser/chromeos/drive/drive_protocol_handler.h |
| diff --git a/chrome/browser/chromeos/drive/drive_protocol_handler.h b/chrome/browser/chromeos/drive/drive_protocol_handler.h |
| index 4fed4747e2824c0b74d3466323544e8718db0b48..defde3fd40851d6069c335f3dda20f55418319c5 100644 |
| --- a/chrome/browser/chromeos/drive/drive_protocol_handler.h |
| +++ b/chrome/browser/chromeos/drive/drive_protocol_handler.h |
| @@ -11,12 +11,15 @@ namespace drive { |
| class DriveProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { |
| public: |
| - DriveProtocolHandler(); |
| + explicit DriveProtocolHandler(void* profile_id); |
|
DaveMoore
2013/01/08 19:07:59
Why would we take a void* instead of a Profile*
Haruki Sato
2013/01/08 23:08:27
I just would like to have the same scheme as we al
|
| virtual ~DriveProtocolHandler(); |
| // Creates URLRequestJobs for drive:// URLs. |
| virtual net::URLRequestJob* MaybeCreateJob( |
| net::URLRequest* request, |
| net::NetworkDelegate* network_delegate) const OVERRIDE; |
| + |
| + // The profile for processing Drive accesses. Should not be NULL. |
| + void* profile_id_; |
| }; |
| } // namespace drive |