Index: chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h |
diff --git a/chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h b/chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h |
index c1b23e77e722f46b246a430ed0cfdfc55d242ee9..552e1f752e6043574ebec4384d033a30d358e94a 100644 |
--- a/chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h |
+++ b/chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h |
@@ -53,7 +53,7 @@ class BrailleDisplayPrivateAPI : public BrowserContextKeyedAPI, |
class EventDelegate { |
public: |
virtual ~EventDelegate() {} |
- virtual void BroadcastEvent(scoped_ptr<Event> event) = 0; |
+ virtual void BroadcastEvent(std::unique_ptr<Event> event) = 0; |
virtual bool HasListener() = 0; |
}; |
@@ -63,12 +63,12 @@ class BrailleDisplayPrivateAPI : public BrowserContextKeyedAPI, |
// the active profile. |
bool IsProfileActive(); |
- void SetEventDelegateForTest(scoped_ptr<EventDelegate> delegate); |
+ void SetEventDelegateForTest(std::unique_ptr<EventDelegate> delegate); |
Profile* profile_; |
ScopedObserver<api::braille_display_private::BrailleController, |
BrailleObserver> scoped_observer_; |
- scoped_ptr<EventDelegate> event_delegate_; |
+ std::unique_ptr<EventDelegate> event_delegate_; |
// BrowserContextKeyedAPI implementation. |
static const char* service_name() { |
@@ -103,7 +103,7 @@ class BrailleDisplayPrivateWriteDotsFunction : public AsyncApiFunction { |
bool Respond() override; |
private: |
- scoped_ptr<braille_display_private::WriteDots::Params> params_; |
+ std::unique_ptr<braille_display_private::WriteDots::Params> params_; |
}; |
} // namespace api |