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

Unified Diff: remoting/host/win/host_service.h

Issue 569593002: Maintaining the proper order of initialization WeakPtrFactory in "src/remoting" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 years, 3 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/desktop_session_agent.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/host_service.h
diff --git a/remoting/host/win/host_service.h b/remoting/host/win/host_service.h
index 855f37c14e79013ac50f642d0c2b803c2d179c35..ccd92f7bbebe27a9a287a59912445df02eb62e4e 100644
--- a/remoting/host/win/host_service.h
+++ b/remoting/host/win/host_service.h
@@ -116,9 +116,10 @@ class HostService : public WtsTerminalMonitor {
// A waitable event that is used to wait until the service is stopped.
base::WaitableEvent stopped_event_;
+ base::WeakPtr<HostService> weak_ptr_;
Wez 2014/09/19 18:23:03 nit: The WeakPtrFactory comment below still applie
+
// Used to post session change notifications and control events.
base::WeakPtrFactory<HostService> weak_factory_;
- base::WeakPtr<HostService> weak_ptr_;
// Singleton.
friend struct DefaultSingletonTraits<HostService>;
« no previous file with comments | « remoting/host/desktop_session_agent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698