summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-01 18:11:34 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-01 18:11:34 +0000
commit39e537e316d35c2dd5181deb445f0420d4dc23b1 (patch)
treee8d96a98c3548f49bd01235d2032a6d76f2a54d9 /remoting
parentc8dd262eaa7ac2a5273c729fc6e16e6ee69c15fa (diff)
downloadchromium_src-39e537e316d35c2dd5181deb445f0420d4dc23b1.zip
chromium_src-39e537e316d35c2dd5181deb445f0420d4dc23b1.tar.gz
chromium_src-39e537e316d35c2dd5181deb445f0420d4dc23b1.tar.bz2
Move DaemonController to remoting/host/setup
DaemonController will be used outside of the plugin, so it doesn't make sense to keep it in the plugin directory. Review URL: https://chromiumcodereview.appspot.com/10985086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/plugin/daemon_installer_win.h1
-rw-r--r--remoting/host/plugin/host_script_object.cc1
-rw-r--r--remoting/host/plugin/host_script_object.h2
-rw-r--r--remoting/host/setup/daemon_controller.h (renamed from remoting/host/plugin/daemon_controller.h)6
-rw-r--r--remoting/host/setup/daemon_controller_linux.cc (renamed from remoting/host/plugin/daemon_controller_linux.cc)2
-rw-r--r--remoting/host/setup/daemon_controller_mac.cc (renamed from remoting/host/plugin/daemon_controller_mac.cc)2
-rw-r--r--remoting/host/setup/daemon_controller_win.cc (renamed from remoting/host/plugin/daemon_controller_win.cc)2
-rw-r--r--remoting/remoting.gyp28
8 files changed, 31 insertions, 13 deletions
diff --git a/remoting/host/plugin/daemon_installer_win.h b/remoting/host/plugin/daemon_installer_win.h
index bff134c..3709982 100644
--- a/remoting/host/plugin/daemon_installer_win.h
+++ b/remoting/host/plugin/daemon_installer_win.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
-#include "remoting/host/plugin/daemon_controller.h"
namespace remoting {
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index 15b5cee..6af792f 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -27,7 +27,6 @@
#include "remoting/host/it2me_host_user_interface.h"
#include "remoting/host/network_settings.h"
#include "remoting/host/pin_hash.h"
-#include "remoting/host/plugin/daemon_controller.h"
#include "remoting/host/plugin/host_log_handler.h"
#include "remoting/host/policy_hack/policy_watcher.h"
#include "remoting/host/register_support_host_request.h"
diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h
index db452cf..c9bd1ec5 100644
--- a/remoting/host/plugin/host_script_object.h
+++ b/remoting/host/plugin/host_script_object.h
@@ -23,8 +23,8 @@
#include "remoting/host/host_key_pair.h"
#include "remoting/host/host_status_observer.h"
#include "remoting/host/log_to_server.h"
-#include "remoting/host/plugin/daemon_controller.h"
#include "remoting/host/plugin/host_plugin_utils.h"
+#include "remoting/host/setup/daemon_controller.h"
#include "remoting/host/ui_strings.h"
#include "third_party/npapi/bindings/npapi.h"
#include "third_party/npapi/bindings/npfunctions.h"
diff --git a/remoting/host/plugin/daemon_controller.h b/remoting/host/setup/daemon_controller.h
index bf67345..4fda7c9 100644
--- a/remoting/host/plugin/daemon_controller.h
+++ b/remoting/host/setup/daemon_controller.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_HOST_DAEMON_CONTROLLER_H_
-#define REMOTING_HOST_DAEMON_CONTROLLER_H_
+#ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_H_
+#define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_H_
#include <string>
@@ -148,4 +148,4 @@ class DaemonController {
} // namespace remoting
-#endif // REMOTING_HOST_DAEMON_CONTROLLER_H_
+#endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_H_
diff --git a/remoting/host/plugin/daemon_controller_linux.cc b/remoting/host/setup/daemon_controller_linux.cc
index ab2e087..fee859c 100644
--- a/remoting/host/plugin/daemon_controller_linux.cc
+++ b/remoting/host/setup/daemon_controller_linux.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/plugin/daemon_controller.h"
+#include "remoting/host/setup/daemon_controller.h"
#include <unistd.h>
diff --git a/remoting/host/plugin/daemon_controller_mac.cc b/remoting/host/setup/daemon_controller_mac.cc
index 54c59b3..f82dabd 100644
--- a/remoting/host/plugin/daemon_controller_mac.cc
+++ b/remoting/host/setup/daemon_controller_mac.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/plugin/daemon_controller.h"
+#include "remoting/host/setup/daemon_controller.h"
#include <launch.h>
#include <stdio.h>
diff --git a/remoting/host/plugin/daemon_controller_win.cc b/remoting/host/setup/daemon_controller_win.cc
index 2985652..64973ba 100644
--- a/remoting/host/plugin/daemon_controller_win.cc
+++ b/remoting/host/setup/daemon_controller_win.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/plugin/daemon_controller.h"
+#include "remoting/host/setup/daemon_controller.h"
#include <objbase.h>
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index c5c49d9..ba03b96 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -1017,6 +1017,29 @@
}, # end of target 'remoting_host_event_logger'
{
+ 'target_name': 'remoting_host_setup_base',
+ 'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'remoting_host',
+ ],
+ 'sources': [
+ 'host/setup/daemon_controller.h',
+ 'host/setup/daemon_controller_linux.cc',
+ 'host/setup/daemon_controller_mac.cc',
+ 'host/setup/daemon_controller_win.cc',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'dependencies': [
+ 'remoting_elevated_controller',
+ ],
+ }],
+ ],
+ }, # end of target 'remoting_breakpad'
+
+ {
'target_name': 'remoting_host_plugin',
'type': 'loadable_module',
'variables': { 'enable_wexit_time_destructors': 1, },
@@ -1025,6 +1048,7 @@
'dependencies': [
'remoting_base',
'remoting_host',
+ 'remoting_host_setup_base',
'remoting_host_event_logger',
'remoting_jingle_glue',
'../net/net.gyp:net',
@@ -1035,10 +1059,6 @@
'host/branding.cc',
'host/branding.h',
'host/host_ui_resource.h',
- 'host/plugin/daemon_controller.h',
- 'host/plugin/daemon_controller_linux.cc',
- 'host/plugin/daemon_controller_mac.cc',
- 'host/plugin/daemon_controller_win.cc',
'host/plugin/daemon_installer_win.cc',
'host/plugin/daemon_installer_win.h',
'host/plugin/host_log_handler.cc',