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

Unified Diff: remoting/host/pairing_registry_delegate_win.h

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/pairing_registry_delegate_win.h
diff --git a/remoting/host/pairing_registry_delegate_win.h b/remoting/host/pairing_registry_delegate_win.h
index ecbd4a24b8cb56a030425c3183e12544d96e1bbf..5058f9350eab3aef58ccb8a18661dc15e9f6f4b3 100644
--- a/remoting/host/pairing_registry_delegate_win.h
+++ b/remoting/host/pairing_registry_delegate_win.h
@@ -19,6 +19,17 @@ class ListValue;
namespace remoting {
+#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";
Sergey Ulanov 2014/02/13 01:53:24 rename this and kUnprivilegedKeyName to make it cl
weitao 2014/02/13 18:13:09 Done.
+const wchar_t kUnprivilegedKeyName[] = L"clients";
+
// Stores client pairing information in Windows registry. Two separate registry
// keys are used:
// - |privileged| - contains the shared secrets of all pairings. This key must

Powered by Google App Engine
This is Rietveld 408576698