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

Unified Diff: chrome/browser/notifications/notification_ui_manager_android.h

Issue 1155453002: Passing ProfileID instead of Profile* to clarify that profile should not be used for making any cal… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes as per review comments. Created 5 years, 7 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/notifications/notification_ui_manager_android.h
diff --git a/chrome/browser/notifications/notification_ui_manager_android.h b/chrome/browser/notifications/notification_ui_manager_android.h
index 68fd226d411146f134ca07b56b51d7b2273ac2e7..9c43dce03cf68aef86455aa1bea231db20f4c2e9 100644
--- a/chrome/browser/notifications/notification_ui_manager_android.h
+++ b/chrome/browser/notifications/notification_ui_manager_android.h
@@ -51,10 +51,10 @@ class NotificationUIManagerAndroid : public NotificationUIManager {
ProfileID profile_id) const override;
bool CancelById(const std::string& delegate_id,
ProfileID profile_id) override;
- std::set<std::string> GetAllIdsByProfileAndSourceOrigin(Profile* profile,
- const GURL& source)
- override;
- std::set<std::string> GetAllIdsByProfile(Profile* profile) override;
+ std::set<std::string> GetAllIdsByProfileAndSourceOrigin(
+ ProfileID profile_id,
+ const GURL& source) override;
+ std::set<std::string> GetAllIdsByProfile(ProfileID profile_id) override;
bool CancelAllBySourceOrigin(const GURL& source_origin) override;
bool CancelAllByProfile(ProfileID profile_id) override;
void CancelAll() override;

Powered by Google App Engine
This is Rietveld 408576698