Searched refs:pairings (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/remoting/host/
H A Dpairing_registry_delegate_linux_unittest.cc43 // Add a couple of pairings.
49 // Verify that there are two pairings in the store now.
65 scoped_ptr<base::ListValue> pairings = delegate->LoadAll(); local
67 EXPECT_TRUE(pairings->GetDictionary(0, &json));
H A Dpairing_registry_delegate_linux.cc39 scoped_ptr<base::ListValue> pairings(new base::ListValue());
60 pairings->Append(pairing_json.release());
63 return pairings.Pass();
H A Dpairing_registry_delegate_win_unittest.cc57 // Add a couple of pairings.
63 // Verify that there are two pairings in the store now.
79 scoped_ptr<base::ListValue> pairings = delegate->LoadAll(); local
81 EXPECT_TRUE(pairings->GetDictionary(0, &json));
113 // to read the pairings.
H A Dpairing_registry_delegate_win.cc124 scoped_ptr<base::ListValue> pairings(new base::ListValue());
140 pairings->Append(pairing.ToValue().release());
143 return pairings.Pass();
148 LOG(ERROR) << "Cannot delete pairings: the delegate is read-only.";
/external/chromium_org/remoting/protocol/
H A Dpairing_registry.cc190 scoped_ptr<base::ListValue> pairings = delegate_->LoadAll(); local
192 base::Passed(&pairings)));
249 scoped_ptr<base::ListValue> pairings) {
250 callback.Run(pairings.Pass());
256 scoped_ptr<base::ListValue> pairings) {
260 for (size_t i = 0; i < pairings->GetSize(); ++i) {
262 if (!pairings->GetDictionary(i, &pairing_json)) {
247 InvokeGetAllPairingsCallbackAndScheduleNext( const GetAllPairingsCallback& callback, scoped_ptr<base::ListValue> pairings) argument
255 SanitizePairings(const GetAllPairingsCallback& callback, scoped_ptr<base::ListValue> pairings) argument
H A Dpairing_registry.h77 typedef base::Callback<void(scoped_ptr<base::ListValue> pairings)>
91 // Retrieves all JSON-encoded pairings from persistent storage.
94 // Deletes all pairings in persistent storage.
124 // Gets all pairings with the shared secrets removed as a base::ListValue.
133 // Clear all pairings from the registry.
176 scoped_ptr<base::ListValue> pairings);
178 // Sanitize |pairings| by parsing each entry and removing the secret from it.
180 scoped_ptr<base::ListValue> pairings);
H A Dpairing_registry_unittest.cc37 void GetAllPairingsCallback(scoped_ptr<base::ListValue> pairings) { argument
38 GetAllPairingsCallbackPtr(pairings.get());
69 void set_pairings(scoped_ptr<base::ListValue> pairings) { argument
70 pairings_ = pairings.Pass();
/external/chromium_org/remoting/host/setup/
H A Dme2me_native_messaging_host.h112 scoped_ptr<base::ListValue> pairings);
H A Dme2me_native_messaging_host.cc442 scoped_ptr<base::ListValue> pairings) {
445 response->Set("pairedClients", pairings.release());
440 SendPairedClientsResponse( scoped_ptr<base::DictionaryValue> response, scoped_ptr<base::ListValue> pairings) argument

Completed in 182 milliseconds