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

Unified Diff: content/public/common/media_stream_request.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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
« no previous file with comments | « content/public/child/resource_dispatcher_delegate.h ('k') | content/public/common/message_port_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/media_stream_request.h
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h
index 7486fd59993feead3875e96dfa1944bfcc8cd2f6..9116548dd581ca8154c7148d6ef93fb29de04270 100644
--- a/content/public/common/media_stream_request.h
+++ b/content/public/common/media_stream_request.h
@@ -8,11 +8,11 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "media/audio/audio_parameters.h"
#include "ui/gfx/native_widget_types.h"
@@ -264,10 +264,10 @@ class MediaStreamUI {
};
// Callback used return results of media access requests.
-typedef base::Callback<void(
- const MediaStreamDevices& devices,
- content::MediaStreamRequestResult result,
- scoped_ptr<MediaStreamUI> ui)> MediaResponseCallback;
+typedef base::Callback<void(const MediaStreamDevices& devices,
+ content::MediaStreamRequestResult result,
+ std::unique_ptr<MediaStreamUI> ui)>
+ MediaResponseCallback;
} // namespace content
« no previous file with comments | « content/public/child/resource_dispatcher_delegate.h ('k') | content/public/common/message_port_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698