fake_message_receiver.h 1006 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ASH_COMPONENTS_PHONEHUB_FAKE_MESSAGE_RECEIVER_H_
  5. #define ASH_COMPONENTS_PHONEHUB_FAKE_MESSAGE_RECEIVER_H_
  6. #include "ash/components/phonehub/message_receiver.h"
  7. #include "ash/components/phonehub/proto/phonehub_api.pb.h"
  8. namespace ash {
  9. namespace phonehub {
  10. class FakeMessageReceiver : public MessageReceiver {
  11. public:
  12. FakeMessageReceiver() = default;
  13. ~FakeMessageReceiver() override = default;
  14. using MessageReceiver::NotifyFeatureSetupResponseReceived;
  15. using MessageReceiver::NotifyFetchCameraRollItemDataResponseReceived;
  16. using MessageReceiver::NotifyFetchCameraRollItemsResponseReceived;
  17. using MessageReceiver::NotifyPhoneStatusSnapshotReceived;
  18. using MessageReceiver::NotifyPhoneStatusUpdateReceived;
  19. };
  20. } // namespace phonehub
  21. } // namespace ash
  22. #endif // ASH_COMPONENTS_PHONEHUB_FAKE_MESSAGE_RECEIVER_H_