OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 |
| 5 #ifndef BLIMP_CLIENT_FEATURE_MOCK_GEOLOCATION_FEATURE_DELEGATE_H_ |
| 6 #define BLIMP_CLIENT_FEATURE_MOCK_GEOLOCATION_FEATURE_DELEGATE_H_ |
| 7 |
| 8 #include "blimp/client/feature/geolocation_feature.h" |
| 9 #include "blimp/common/proto/geolocation.pb.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" |
| 11 |
| 12 namespace blimp { |
| 13 namespace client { |
| 14 |
| 15 class MockGeolocationFeatureDelegate |
| 16 : public GeolocationFeature::GeolocationFeatureDelegate { |
| 17 public: |
| 18 MockGeolocationFeatureDelegate(); |
| 19 ~MockGeolocationFeatureDelegate(); |
| 20 |
| 21 MOCK_METHOD1(OnGeolocationInterestUpdate, |
| 22 void(GeolocationSetInterestLevelMessage::Level level)); |
| 23 MOCK_METHOD0(OnRequestRefresh, void()); |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(MockGeolocationFeatureDelegate); |
| 27 }; |
| 28 |
| 29 } // namespace client |
| 30 } // namespace blimp |
| 31 |
| 32 #endif // BLIMP_CLIENT_FEATURE_MOCK_GEOLOCATION_FEATURE_DELEGATE_H_ |
OLD | NEW |