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

Unified Diff: extensions/renderer/api/display_source/display_source_session.h

Issue 1899083003: Convert //extensions/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698