Index: remoting/host/daemon_process_win.cc |
diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc |
index fa91cb67a16d2b438d72a9e43a929e13e04124e0..cdec63f4ccae49391e50a01add43f0dd271935d9 100644 |
--- a/remoting/host/daemon_process_win.cc |
+++ b/remoting/host/daemon_process_win.cc |
@@ -28,6 +28,7 @@ |
#include "remoting/host/host_exit_codes.h" |
#include "remoting/host/host_main.h" |
#include "remoting/host/ipc_constants.h" |
+#include "remoting/host/pairing_registry_delegate_win.h" |
#include "remoting/host/screen_resolution.h" |
#include "remoting/host/win/launch_process_with_token.h" |
#include "remoting/host/win/unprivileged_process_delegate.h" |
@@ -38,17 +39,6 @@ using base::TimeDelta; |
namespace { |
-#if defined(OFFICIAL_BUILD) |
-const wchar_t kPairingRegistryKeyName[] = |
- L"SOFTWARE\\Google\\Chrome Remote Desktop\\paired-clients"; |
-#else |
-const wchar_t kPairingRegistryKeyName[] = |
- L"SOFTWARE\\Chromoting\\paired-clients"; |
-#endif |
- |
-const wchar_t kPrivilegedKeyName[] = L"secrets"; |
-const wchar_t kUnprivilegedKeyName[] = L"clients"; |
- |
// Duplicates |key| into |target_process| and returns the value that can be sent |
// over IPC. |
IPC::PlatformFileForTransit GetRegistryKeyForTransit( |