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

Unified Diff: chrome/browser/drive/drive_api_service.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_api_service.h
diff --git a/chrome/browser/drive/drive_api_service.h b/chrome/browser/drive/drive_api_service.h
index 61a655009618a29a7d6250380a15a8fd47062664..10d85c3cc193331f9243432429fed93d8895039d 100644
--- a/chrome/browser/drive/drive_api_service.h
+++ b/chrome/browser/drive/drive_api_service.h
@@ -235,7 +235,7 @@ class DriveAPIService : public DriveServiceInterface,
const google_apis::EntryActionCallback& callback) override;
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) override;
scoped_ptr<BatchRequestConfiguratorInterface> StartBatchRequest() override;

Powered by Google App Engine
This is Rietveld 408576698