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

Unified Diff: remoting/host/chromoting_host.h

Issue 8493020: Move code in src/remoting to the new callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: - Created 9 years, 1 month 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/capturer_win.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 76c204c4be39a949099462dc929fd957bc774d3a..2596afb910e24942b423da91c3b4d5f56c9ec547 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -90,7 +90,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// Asynchronously shutdown the host process. |shutdown_task| is
// called after shutdown is completed.
- void Shutdown(Task* shutdown_task);
+ void Shutdown(const base::Closure& shutdown_task);
// Adds |observer| to the list of status observers. Doesn't take
// ownership of |observer|, so |observer| must outlive this
@@ -245,9 +245,9 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
std::string access_code_;
- // Stores list of tasks that should be executed when we finish
+ // Stores list of closures that should be executed when we finish
// shutdown. Used only while |state_| is set to kStopping.
- std::vector<Task*> shutdown_tasks_;
+ std::vector<base::Closure> shutdown_tasks_;
UiStrings ui_strings_;
« no previous file with comments | « remoting/host/capturer_win.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698