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

Unified Diff: remoting/host/server_log_entry.h

Issue 10399127: [Chromoting] Replace some bare pointers with scoped_ptrs, and improve naming. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/host/log_to_server.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/server_log_entry.h
diff --git a/remoting/host/server_log_entry.h b/remoting/host/server_log_entry.h
index f1af9bd86935da9ad96222abea077bc67cebab2c..3e8e68ba229c32560b145da9dbbc3fe82d7ae213 100644
--- a/remoting/host/server_log_entry.h
+++ b/remoting/host/server_log_entry.h
@@ -32,10 +32,10 @@ class ServerLogEntry {
// Constructs a log entry for a session state change.
// Currently this is either connection or disconnection.
- static ServerLogEntry* MakeSessionStateChange(bool connection);
+ static scoped_ptr<ServerLogEntry> MakeForSessionStateChange(bool connection);
// Constructs a log entry for a heartbeat.
- static ServerLogEntry* MakeForHeartbeat();
+ static scoped_ptr<ServerLogEntry> MakeForHeartbeat();
~ServerLogEntry();
« no previous file with comments | « remoting/host/log_to_server.cc ('k') | remoting/host/server_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698