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

Unified Diff: chrome/service/remoting/chromoting_host_manager.h

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 11 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
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();

Powered by Google App Engine
This is Rietveld 408576698