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

Unified Diff: content/public/browser/presentation_service_delegate.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/browser/power_save_blocker.h ('k') | content/public/browser/presentation_session_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/presentation_service_delegate.h
diff --git a/content/public/browser/presentation_service_delegate.h b/content/public/browser/presentation_service_delegate.h
index fdd25c38b1baa63a9aabdfdff197d1a7aab772da..cb1725bf763ddac7e11cd82822f1f73e194c9be0 100644
--- a/content/public/browser/presentation_service_delegate.h
+++ b/content/public/browser/presentation_service_delegate.h
@@ -5,11 +5,11 @@
#ifndef CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_PRESENTATION_SERVICE_DELEGATE_H_
+#include <memory>
#include <string>
#include <vector>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "content/common/content_export.h"
#include "content/public/browser/presentation_session.h"
@@ -186,7 +186,7 @@ class CONTENT_EXPORT PresentationServiceDelegate {
virtual void SendMessage(int render_process_id,
int render_frame_id,
const content::PresentationSessionInfo& session,
- scoped_ptr<PresentationSessionMessage> message,
+ std::unique_ptr<PresentationSessionMessage> message,
const SendMessageCallback& send_message_cb) = 0;
// Continuously listen for state changes for a PresentationConnection in a
« no previous file with comments | « content/public/browser/power_save_blocker.h ('k') | content/public/browser/presentation_session_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698