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..a9b5713c372f9846ef4c8de64577c9ba128b3b06 100644 |
| --- a/chrome/browser/chromeos/drive/drive_protocol_handler.h |
| +++ b/chrome/browser/chromeos/drive/drive_protocol_handler.h |
| @@ -7,16 +7,21 @@ |
| #include "net/url_request/url_request_job_factory.h" |
| +class Profile; |
|
hashimoto
2013/01/07 08:22:51
No need to have this now.
Haruki Sato
2013/01/07 08:54:49
Done. Thanks.
|
| + |
| namespace drive { |
| class DriveProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { |
| public: |
| - DriveProtocolHandler(); |
| + explicit DriveProtocolHandler(void* profile_id); |
| 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 |