/external/chromium_org/remoting/protocol/ |
pairing_registry.h | 43 struct Pairing { 44 Pairing(); 45 Pairing(const base::Time& created_time, 49 ~Pairing(); 51 static Pairing Create(const std::string& client_name); 52 static Pairing CreateFromValue(const base::DictionaryValue& pairing); 56 bool operator==(const Pairing& other) const; 72 // Mapping from client id to pairing information. 73 typedef std::map<std::string, Pairing> PairedClients [all...] |
pairing_registry.cc | 29 PairingRegistry::Pairing::Pairing() { 32 PairingRegistry::Pairing::Pairing(const base::Time& created_time, 42 PairingRegistry::Pairing::~Pairing() { 45 PairingRegistry::Pairing PairingRegistry::Pairing::Create( 54 return Pairing(created_time, client_name, client_id, shared_secret); 57 PairingRegistry::Pairing PairingRegistry::Pairing::CreateFromValue 206 Pairing pairing = delegate_->Load(client_id); local 266 Pairing pairing = Pairing::CreateFromValue(*pairing_json); local [all...] |
pairing_registry_unittest.cc | 35 MOCK_METHOD1(GetPairingCallback, void(PairingRegistry::Pairing)); 45 // Verify that a pairing Dictionary has correct entries, but doesn't include 47 void VerifyPairing(PairingRegistry::Pairing expected, 74 PairingRegistry::Pairing actual) { 95 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("my_client"); 96 PairingRegistry::Pairing pairing_2 = registry->CreatePairing("my_client"); 117 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("client1"); 118 PairingRegistry::Pairing pairing_2 = registry->CreatePairing("client2"); 145 PairingRegistry::Pairing pairing_1 = registry->CreatePairing("client1"); 146 PairingRegistry::Pairing pairing_2 = registry->CreatePairing("client2") [all...] |
protocol_mock_objects.cc | 74 protocol::PairingRegistry::Pairing MockPairingRegistryDelegate::Load( 80 return protocol::PairingRegistry::Pairing(); 85 const protocol::PairingRegistry::Pairing& pairing) { 86 pairings_[pairing.client_id()] = pairing;
|
pairing_host_authenticator.h | 42 // Continue processing a protocol message once the pairing information for 46 PairingRegistry::Pairing pairing);
|
pairing_host_authenticator.cc | 97 PairingRegistry::Pairing pairing) { 99 std::string paired_secret = pairing.shared_secret();
|
protocol_mock_objects.h | 223 virtual protocol::PairingRegistry::Pairing Load( 225 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE; 229 typedef std::map<std::string, protocol::PairingRegistry::Pairing> Pairings;
|
negotiating_authenticator_unittest.cc | 91 PairingRegistry::Pairing pairing( 93 pairing_registry_->AddPairing(pairing);
|
/external/chromium_org/remoting/host/ |
pairing_registry_delegate_linux.h | 27 virtual protocol::PairingRegistry::Pairing Load( 29 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
|
pairing_registry_delegate_win.h | 22 // Stores client pairing information in Windows registry. Two separate registry 27 // - |unprivileged| - contains the rest of pairing state. 38 // Passes the root keys to be used to access the pairing registry store. 46 virtual protocol::PairingRegistry::Pairing Load( 48 virtual bool Save(const protocol::PairingRegistry::Pairing& pairing) OVERRIDE;
|
pairing_registry_delegate_linux_unittest.cc | 44 PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); 45 PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); 56 // Delete the first pairing. 59 // Verify that there is only one pairing left. 60 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); 68 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2); 84 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); 85 EXPECT_TRUE(save_delegate->Save(pairing)); 86 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing) [all...] |
pairing_registry_delegate_win_unittest.cc | 56 PairingRegistry::Pairing pairing1(base::Time::Now(), "xxx", "xxx", "xxx"); 57 PairingRegistry::Pairing pairing2(base::Time::Now(), "yyy", "yyy", "yyy"); 68 // Delete the first pairing. 71 // Verify that there is only one pairing left. 72 EXPECT_EQ(delegate->Load(pairing1.client_id()), PairingRegistry::Pairing()); 80 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2); 96 PairingRegistry::Pairing pairing(base::Time::Now(), "xxx", "xxx", "xxx"); 97 EXPECT_TRUE(save_delegate->Save(pairing)); 98 EXPECT_EQ(load_delegate->Load(pairing.client_id()), pairing) [all...] |
pairing_registry_delegate_linux.cc | 20 // The pairing registry path relative to the configuration directory. 41 // Enumerate all pairing files in the pairing registry. 48 // Read the JSON containing pairing data. 67 // Delete all pairing files in the pairing registry. 82 PairingRegistry::Pairing PairingRegistryDelegateLinux::Load( 91 scoped_ptr<base::Value> pairing( 93 if (!pairing) { 94 LOG(WARNING) << "Failed to load pairing information: " << error_messag [all...] |
pairing_registry_delegate_win.cc | 138 PairingRegistry::Pairing pairing = Load(WideToUTF8(value_name)); local 139 if (pairing.is_valid()) 140 pairings->Append(pairing.ToValue().release()); 168 PairingRegistry::Pairing PairingRegistryDelegateWin::Load( 174 scoped_ptr<base::DictionaryValue> pairing = ReadValue(unprivileged_, local 176 if (!pairing) 177 return PairingRegistry::Pairing(); 184 return PairingRegistry::Pairing(); 187 pairing->MergeDictionary(secret.get()) [all...] |
client_session.cc | 181 protocol::PairingRegistry::Pairing pairing = local 184 pairing_response.set_client_id(pairing.client_id()); 185 pairing_response.set_shared_secret(pairing.shared_secret());
|
/external/chromium_org/remoting/webapp/ |
remoting.js | 226 console.error('Failed to get pairing status: ' + error); 236 console.log('Pairing registry not supported by host.');
|