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

Unified Diff: chrome/browser/drive/drive_service_interface.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: chrome/browser/drive/drive_service_interface.h
diff --git a/chrome/browser/drive/drive_service_interface.h b/chrome/browser/drive/drive_service_interface.h
index 9fa23835c5ca4d24ff1c4d964abc099c7605dcc0..cd32be8c33b6641bf525d7aa2f830b81ca809c63 100644
--- a/chrome/browser/drive/drive_service_interface.h
+++ b/chrome/browser/drive/drive_service_interface.h
@@ -17,6 +17,10 @@ namespace base {
class Time;
}
+namespace user_manager {
+class UserID;
+}
+
namespace drive {
// Observer interface for DriveServiceInterface.
@@ -454,7 +458,7 @@ class DriveServiceInterface : public DriveServiceBatchOperationsInterface {
// |callback| must not be null.
virtual google_apis::CancelCallback AddPermission(
const std::string& resource_id,
- const std::string& email,
+ const user_manager::UserID& user_id,
google_apis::drive::PermissionRole role,
const google_apis::EntryActionCallback& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698