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

Unified Diff: remoting/client/server_log_entry_client.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/client/server_log_entry_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/server_log_entry_client.h
diff --git a/remoting/client/server_log_entry_client.h b/remoting/client/server_log_entry_client.h
index 84c2207398dac01faa2c8821278a9686199906b8..238c9e2139a9db0e441946656d6a01112cb01278 100644
--- a/remoting/client/server_log_entry_client.h
+++ b/remoting/client/server_log_entry_client.h
@@ -18,20 +18,20 @@ class PerformanceTracker;
} // namespace protocol
// Constructs a log entry for a session state change.
-scoped_ptr<ServerLogEntry> MakeLogEntryForSessionStateChange(
+std::unique_ptr<ServerLogEntry> MakeLogEntryForSessionStateChange(
protocol::ConnectionToHost::State state,
protocol::ErrorCode error);
// Constructs a log entry for reporting statistics.
-scoped_ptr<ServerLogEntry> MakeLogEntryForStatistics(
+std::unique_ptr<ServerLogEntry> MakeLogEntryForStatistics(
protocol::PerformanceTracker* statistics);
// Constructs a log entry for reporting session ID is old.
-scoped_ptr<ServerLogEntry> MakeLogEntryForSessionIdOld(
+std::unique_ptr<ServerLogEntry> MakeLogEntryForSessionIdOld(
const std::string& session_id);
// Constructs a log entry for reporting session ID is old.
-scoped_ptr<ServerLogEntry> MakeLogEntryForSessionIdNew(
+std::unique_ptr<ServerLogEntry> MakeLogEntryForSessionIdNew(
const std::string& session_id);
void AddClientFieldsToLogEntry(ServerLogEntry* entry);
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/client/server_log_entry_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698