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

Unified Diff: remoting/host/daemon_process_win.cc

Issue 143303007: Enable pairing registry in me2me native messaging host on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pairing
Patch Set: Created 6 years, 10 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: 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(
« no previous file with comments | « no previous file | remoting/host/installer/win/chromoting.wxs » ('j') | remoting/host/installer/win/chromoting.wxs » ('J')

Powered by Google App Engine
This is Rietveld 408576698