/external/chromium_org/remoting/protocol/ |
D | pairing_registry.cc | 24 const char PairingRegistry::kCreatedTimeKey[] = "createdTime"; 25 const char PairingRegistry::kClientIdKey[] = "clientId"; 26 const char PairingRegistry::kClientNameKey[] = "clientName"; 27 const char PairingRegistry::kSharedSecretKey[] = "sharedSecret"; 29 PairingRegistry::Pairing::Pairing() { in Pairing() 32 PairingRegistry::Pairing::Pairing(const base::Time& created_time, in Pairing() 42 PairingRegistry::Pairing::~Pairing() { in ~Pairing() 45 PairingRegistry::Pairing PairingRegistry::Pairing::Create( in Create() 57 PairingRegistry::Pairing PairingRegistry::Pairing::CreateFromValue( in CreateFromValue() 75 scoped_ptr<base::DictionaryValue> PairingRegistry::Pairing::ToValue() const { in ToValue() [all …]
|
D | pairing_registry_unittest.cc | 26 using remoting::protocol::PairingRegistry; 35 MOCK_METHOD1(GetPairingCallback, void(PairingRegistry::Pairing)); 47 void VerifyPairing(PairingRegistry::Pairing expected, in VerifyPairing() 50 EXPECT_TRUE(actual.GetString(PairingRegistry::kClientNameKey, &value)); in VerifyPairing() 52 EXPECT_TRUE(actual.GetString(PairingRegistry::kClientIdKey, &value)); in VerifyPairing() 55 EXPECT_FALSE(actual.HasKey(PairingRegistry::kSharedSecretKey)); in VerifyPairing() 74 PairingRegistry::Pairing actual) { in ExpectSecret() 93 scoped_refptr<PairingRegistry> registry = new SynchronousPairingRegistry( in TEST_F() 94 scoped_ptr<PairingRegistry::Delegate>(new MockPairingRegistryDelegate())); in TEST_F() 95 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("my_client"); in TEST_F() [all …]
|
D | pairing_registry.h | 41 class PairingRegistry : public base::RefCountedThreadSafe<PairingRegistry> { 107 PairingRegistry( 137 friend class base::RefCountedThreadSafe<PairingRegistry>; 138 virtual ~PairingRegistry(); 155 const protocol::PairingRegistry::GetAllPairingsCallback& callback); 157 const protocol::PairingRegistry::DoneCallback& callback); 160 const protocol::PairingRegistry::GetPairingCallback& callback); 162 const protocol::PairingRegistry::Pairing& pairing, 163 const protocol::PairingRegistry::DoneCallback& callback); 166 const protocol::PairingRegistry::DoneCallback& callback); [all …]
|
D | pairing_host_authenticator.h | 18 class PairingRegistry; variable 23 scoped_refptr<PairingRegistry> pairing_registry, 46 PairingRegistry::Pairing pairing); 49 scoped_refptr<PairingRegistry> pairing_registry_;
|
D | protocol_mock_objects.cc | 74 protocol::PairingRegistry::Pairing MockPairingRegistryDelegate::Load( in Load() 80 return protocol::PairingRegistry::Pairing(); in Load() 85 const protocol::PairingRegistry::Pairing& pairing) { in Save() 97 : PairingRegistry(base::ThreadTaskRunnerHandle::Get(), delegate.Pass()) { in SynchronousPairingRegistry()
|
D | me2me_host_authenticator_factory.h | 25 class PairingRegistry; variable 36 scoped_refptr<PairingRegistry> pairing_registry); 73 scoped_refptr<PairingRegistry> pairing_registry_;
|
D | protocol_mock_objects.h | 218 class MockPairingRegistryDelegate : public PairingRegistry::Delegate { 226 virtual protocol::PairingRegistry::Pairing Load( 228 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE; 232 typedef std::map<std::string, protocol::PairingRegistry::Pairing> Pairings; 236 class SynchronousPairingRegistry : public PairingRegistry {
|
D | negotiating_host_authenticator.h | 40 scoped_refptr<PairingRegistry> pairing_registry); 75 scoped_refptr<PairingRegistry> pairing_registry_;
|
D | pairing_host_authenticator.cc | 19 scoped_refptr<PairingRegistry> pairing_registry, in PairingHostAuthenticator() 97 PairingRegistry::Pairing pairing) { in ProcessMessageWithPairing()
|
D | negotiating_authenticator_unittest.cc | 88 scoped_ptr<PairingRegistry::Delegate>( in CreatePairingRegistry() 91 PairingRegistry::Pairing pairing( in CreatePairingRegistry() 145 scoped_refptr<PairingRegistry> pairing_registry_;
|
/external/chromium_org/remoting/host/ |
D | pairing_registry_delegate.cc | 11 using protocol::PairingRegistry; 13 scoped_refptr<PairingRegistry> CreatePairingRegistry( in CreatePairingRegistry() 15 scoped_refptr<PairingRegistry> pairing_registry; in CreatePairingRegistry() 16 scoped_ptr<PairingRegistry::Delegate> delegate( in CreatePairingRegistry() 19 pairing_registry = new PairingRegistry(task_runner, delegate.Pass()); in CreatePairingRegistry()
|
D | pairing_registry_delegate_win.cc | 98 using protocol::PairingRegistry; 138 PairingRegistry::Pairing pairing = Load(base::WideToUTF8(value_name)); in LoadAll() 182 PairingRegistry::Pairing PairingRegistryDelegateWin::Load( in Load() 191 return PairingRegistry::Pairing(); in Load() 198 return PairingRegistry::Pairing(); in Load() 204 return PairingRegistry::Pairing::CreateFromValue(*pairing); in Load() 207 bool PairingRegistryDelegateWin::Save(const PairingRegistry::Pairing& pairing) { in Save() 219 CHECK(pairing_json->Remove(PairingRegistry::kSharedSecretKey, &secret_key)); in Save() 221 secret_json->Set(PairingRegistry::kSharedSecretKey, secret_key.release()); in Save() 265 scoped_ptr<PairingRegistry::Delegate> CreatePairingRegistryDelegate() { in CreatePairingRegistryDelegate() [all …]
|
D | pairing_registry_delegate_win_unittest.cc | 17 using protocol::PairingRegistry; 58 PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() 59 PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); in TEST_F() 74 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); in TEST_F() 82 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2); in TEST_F() 98 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() 108 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() 117 PairingRegistry::Pairing unprivileged_pairing = in TEST_F()
|
D | pairing_registry_delegate_linux.cc | 30 using protocol::PairingRegistry; 82 PairingRegistry::Pairing PairingRegistryDelegateLinux::Load( in Load() 96 return PairingRegistry::Pairing(); in Load() 102 return PairingRegistry::Pairing(); in Load() 105 return PairingRegistry::Pairing::CreateFromValue(*pairing_dictionary); in Load() 109 const PairingRegistry::Pairing& pairing) { in Save() 159 scoped_ptr<PairingRegistry::Delegate> CreatePairingRegistryDelegate() { in CreatePairingRegistryDelegate() 160 return scoped_ptr<PairingRegistry::Delegate>( in CreatePairingRegistryDelegate()
|
D | pairing_registry_delegate_linux_unittest.cc | 14 using protocol::PairingRegistry; 44 PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F() 45 PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); in TEST_F() 60 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); in TEST_F() 68 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2); in TEST_F() 84 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); in TEST_F()
|
D | pairing_registry_delegate_mac.cc | 11 using protocol::PairingRegistry; 13 scoped_ptr<PairingRegistry::Delegate> CreatePairingRegistryDelegate() { in CreatePairingRegistryDelegate() 14 return scoped_ptr<PairingRegistry::Delegate>(); in CreatePairingRegistryDelegate()
|
D | pairing_registry_delegate_linux.h | 19 : public protocol::PairingRegistry::Delegate { 27 virtual protocol::PairingRegistry::Pairing Load( 29 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
|
D | pairing_registry_delegate_win.h | 44 : public protocol::PairingRegistry::Delegate { 57 virtual protocol::PairingRegistry::Pairing Load( 59 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
|
D | pairing_registry_delegate.h | 19 scoped_ptr<protocol::PairingRegistry::Delegate> 25 scoped_refptr<protocol::PairingRegistry> CreatePairingRegistry(
|
D | chromoting_host.h | 149 scoped_refptr<protocol::PairingRegistry> pairing_registry() const { in pairing_registry() 153 scoped_refptr<protocol::PairingRegistry> pairing_registry) { in set_pairing_registry() 214 scoped_refptr<protocol::PairingRegistry> pairing_registry_;
|
D | client_session.h | 100 scoped_refptr<protocol::PairingRegistry> pairing_registry, 249 scoped_refptr<protocol::PairingRegistry> pairing_registry_;
|
D | remoting_me2me_host.cc | 106 using remoting::protocol::PairingRegistry; 345 scoped_ptr<PairingRegistry::Delegate> pairing_registry_delegate_; 595 scoped_refptr<PairingRegistry> pairing_registry = NULL; in CreateAuthenticatorFactory() 601 pairing_registry = new PairingRegistry(context_->file_task_runner(), in CreateAuthenticatorFactory() 804 pairing_registry_delegate_ = delegate.PassAs<PairingRegistry::Delegate>(); in OnInitializePairingRegistry()
|
/external/chromium_org/remoting/host/setup/ |
D | me2me_native_messaging_host_main.cc | 35 using remoting::protocol::PairingRegistry; 194 scoped_refptr<PairingRegistry> pairing_registry; in StartMe2MeNativeMessagingHost() 235 pairing_registry = new PairingRegistry( in StartMe2MeNativeMessagingHost() 237 delegate.PassAs<PairingRegistry::Delegate>()); in StartMe2MeNativeMessagingHost()
|
D | me2me_native_messaging_host.h | 33 class PairingRegistry; variable 45 scoped_refptr<protocol::PairingRegistry> pairing_registry, 176 scoped_refptr<protocol::PairingRegistry> pairing_registry_;
|
D | me2me_native_messaging_host_unittest.cc | 28 using remoting::protocol::PairingRegistry; 322 scoped_refptr<PairingRegistry> pairing_registry = in StartHost() 323 new SynchronousPairingRegistry(scoped_ptr<PairingRegistry::Delegate>( in StartHost()
|