Index: chrome/service/remoting/chromoting_host_manager.h |
diff --git a/chrome/service/remoting/chromoting_host_manager.h b/chrome/service/remoting/chromoting_host_manager.h |
index 6c510e85ae7c16eb8aced396b2c91170289bfa58..b64bfe92466151921eb53d09e5a01ac90a575951 100644 |
--- a/chrome/service/remoting/chromoting_host_manager.h |
+++ b/chrome/service/remoting/chromoting_host_manager.h |
@@ -38,7 +38,7 @@ class ChromotingHostManager |
// Caller keeps ownership of |observer|. |observer| must not be |
// destroyed while this object exists. |
- ChromotingHostManager(Observer* observer); |
+ explicit ChromotingHostManager(Observer* observer); |
void Initialize(base::MessageLoopProxy* file_message_loop); |
void Teardown(); |
@@ -60,6 +60,9 @@ class ChromotingHostManager |
void GetHostInfo(ChromotingHostInfo* host_info); |
private: |
+ friend class base::RefCountedThreadSafe<ChromotingHostManager>; |
Nico
2011/01/27 03:55:17
! +1
|
+ virtual ~ChromotingHostManager(); |
+ |
bool IsConfigInitialized(); |
void InitializeConfig(); |