| Index: remoting/protocol/protocol_mock_objects.h
|
| diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h
|
| index 0f1e24d85ce1d9faa2f202df68e689730864eaa0..84960fdc8ad055802fd99372d243e7cabb7eb331 100644
|
| --- a/remoting/protocol/protocol_mock_objects.h
|
| +++ b/remoting/protocol/protocol_mock_objects.h
|
| @@ -211,23 +211,22 @@ class MockPairingRegistryDelegate : public PairingRegistry::Delegate {
|
| MockPairingRegistryDelegate();
|
| virtual ~MockPairingRegistryDelegate();
|
|
|
| - const PairingRegistry::PairedClients& paired_clients() const {
|
| - return paired_clients_;
|
| + const std::string& pairings_json() const {
|
| + return pairings_json_;
|
| }
|
|
|
| // PairingRegistry::Delegate implementation.
|
| - virtual void AddPairing(
|
| - const PairingRegistry::Pairing& new_paired_client,
|
| - const PairingRegistry::AddPairingCallback& callback) OVERRIDE;
|
| - virtual void GetPairing(
|
| - const std::string& client_id,
|
| - const PairingRegistry::GetPairingCallback& callback) OVERRIDE;
|
| + virtual void Save(
|
| + const std::string& pairings_json,
|
| + const PairingRegistry::SaveCallback& callback) OVERRIDE;
|
| + virtual void Load(
|
| + const PairingRegistry::LoadCallback& callback) OVERRIDE;
|
|
|
| void RunCallback();
|
|
|
| private:
|
| - base::Closure saved_callback_;
|
| - PairingRegistry::PairedClients paired_clients_;
|
| + base::Closure load_callback_;
|
| + std::string pairings_json_;
|
| };
|
|
|
| } // namespace protocol
|
|
|