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

Unified Diff: remoting/host/host_user_interface.cc

Issue 10831271: [Chromoting] Adding uiAccess='true' to the remoting_me2me_host.exe's manifest as it is required to … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased + a couple of merge fixes. Created 8 years, 4 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/base/stoppable.cc ('k') | remoting/host/win/host_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_user_interface.cc
diff --git a/remoting/host/host_user_interface.cc b/remoting/host/host_user_interface.cc
index 925e1069b7bbd62a8f3b30fe917b80c36c042daa..9172370a5fa90cf9b6e696341482e995f9f96f54 100644
--- a/remoting/host/host_user_interface.cc
+++ b/remoting/host/host_user_interface.cc
@@ -32,7 +32,6 @@ void HostUserInterface::Start(ChromotingHost* host,
const base::Closure& disconnect_callback) {
DCHECK(network_task_runner()->BelongsToCurrentThread());
DCHECK(host_ == NULL);
- DCHECK(disconnect_callback_.is_null());
host_ = host;
disconnect_callback_ = disconnect_callback;
@@ -91,7 +90,6 @@ base::SingleThreadTaskRunner* HostUserInterface::ui_task_runner() const {
void HostUserInterface::DisconnectSession() const {
DCHECK(ui_task_runner()->BelongsToCurrentThread());
- DCHECK(!disconnect_callback_.is_null());
disconnect_callback_.Run();
}
@@ -118,7 +116,6 @@ void HostUserInterface::StartForTest(
scoped_ptr<LocalInputMonitor> local_input_monitor) {
DCHECK(network_task_runner()->BelongsToCurrentThread());
DCHECK(host_ == NULL);
- DCHECK(disconnect_callback_.is_null());
host_ = host;
disconnect_callback_ = disconnect_callback;
« no previous file with comments | « remoting/base/stoppable.cc ('k') | remoting/host/win/host_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698