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

Unified Diff: chrome/browser/chromeos/drive/drive_protocol_handler.h

Issue 11785018: drive: Add Profile* as a member of DriveProtocolHandler. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add availability check before initializing DriveProtocolHandler Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_protocol_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698