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

Unified Diff: chrome/browser/extensions/api/notifications/notifications_api.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 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/extensions/api/notifications/notifications_api.h
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.h b/chrome/browser/extensions/api/notifications/notifications_api.h
index b3ef00b9f2bd98571e7592900b0b96376a4fca81..fd85025d8301483e1a9ca6cf5b0325a84862c655 100644
--- a/chrome/browser/extensions/api/notifications/notifications_api.h
+++ b/chrome/browser/extensions/api/notifications/notifications_api.h
@@ -62,7 +62,7 @@ class NotificationsCreateFunction : public NotificationsApiFunction {
~NotificationsCreateFunction() override;
private:
- scoped_ptr<api::notifications::Create::Params> params_;
+ std::unique_ptr<api::notifications::Create::Params> params_;
DECLARE_EXTENSION_FUNCTION("notifications.create", NOTIFICATIONS_CREATE)
};
@@ -78,7 +78,7 @@ class NotificationsUpdateFunction : public NotificationsApiFunction {
~NotificationsUpdateFunction() override;
private:
- scoped_ptr<api::notifications::Update::Params> params_;
+ std::unique_ptr<api::notifications::Update::Params> params_;
DECLARE_EXTENSION_FUNCTION("notifications.update", NOTIFICATIONS_UPDATE)
};
@@ -94,7 +94,7 @@ class NotificationsClearFunction : public NotificationsApiFunction {
~NotificationsClearFunction() override;
private:
- scoped_ptr<api::notifications::Clear::Params> params_;
+ std::unique_ptr<api::notifications::Clear::Params> params_;
DECLARE_EXTENSION_FUNCTION("notifications.clear", NOTIFICATIONS_CLEAR)
};

Powered by Google App Engine
This is Rietveld 408576698