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

Unified Diff: remoting/host/chromoting_host.h

Issue 2722010: Cleanup some chromoting code (Closed)
Patch Set: Created 10 years, 6 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/chromoting.gyp ('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/simple_host.h b/remoting/host/chromoting_host.h
similarity index 93%
rename from remoting/host/simple_host.h
rename to remoting/host/chromoting_host.h
index 858a7bbb747bea0c886550b9935295ce98a2bdc4..463d03c80c56d0babb43e5d9600bee6821d734cf 100644
--- a/remoting/host/simple_host.h
+++ b/remoting/host/chromoting_host.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_SIMPLE_HOST_H_
-#define REMOTING_SIMPLE_HOST_H_
+#ifndef REMOTING_CHROMOTING_HOST_H_
+#define REMOTING_CHROMOTING_HOST_H_
#include <string>
@@ -48,14 +48,14 @@ namespace remoting {
// all pending tasks to complete. After all of that completed we
// return to the idle state. We then go to step (2) if there a new
// incoming connection.
-class SimpleHost : public base::RefCountedThreadSafe<SimpleHost>,
+class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
public ClientConnection::EventHandler,
public JingleClient::Callback {
public:
- SimpleHost(const std::string& username, const std::string& auth_token,
+ ChromotingHost(const std::string& username, const std::string& auth_token,
Capturer* capturer, Encoder* encoder, EventExecutor* executor,
base::WaitableEvent* host_done);
- virtual ~SimpleHost();
+ virtual ~ChromotingHost();
// Run the host porcess. This method returns only after the message loop
// of the host process exits.
@@ -139,9 +139,9 @@ class SimpleHost : public base::RefCountedThreadSafe<SimpleHost>,
// Signals the host is ready to be destroyed.
base::WaitableEvent* host_done_;
- DISALLOW_COPY_AND_ASSIGN(SimpleHost);
+ DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
};
} // namespace remoting
-#endif // REMOTING_HOST_SIMPLE_HOST_H_
+#endif // REMOTING_HOST_CHROMOTING_HOST_H_
« no previous file with comments | « remoting/chromoting.gyp ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698