Index: extensions/renderer/api/display_source/display_source_session.h |
diff --git a/extensions/renderer/api/display_source/display_source_session.h b/extensions/renderer/api/display_source/display_source_session.h |
index a16ac5d647621bb9bff872c4b73cf9d522e25296..8758aa5e25dcb8c4b2013104aff37ddb0e00f515 100644 |
--- a/extensions/renderer/api/display_source/display_source_session.h |
+++ b/extensions/renderer/api/display_source/display_source_session.h |
@@ -5,11 +5,11 @@ |
#ifndef EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ |
#define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ |
+#include <memory> |
#include <string> |
#include "base/callback.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "extensions/common/api/display_source.h" |
#include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h" |
@@ -108,8 +108,9 @@ struct DisplaySourceSessionParams { |
class DisplaySourceSessionFactory { |
public: |
- static scoped_ptr<DisplaySourceSession> CreateSession( |
+ static std::unique_ptr<DisplaySourceSession> CreateSession( |
const DisplaySourceSessionParams& params); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(DisplaySourceSessionFactory); |
}; |