OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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 IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "ios/public/provider/chrome/browser/string_provider.h" |
| 10 |
| 11 namespace ios { |
| 12 |
| 13 // An impementation of StringProvider for use in tests. |
| 14 class FakeStringProvider : public StringProvider { |
| 15 public: |
| 16 FakeStringProvider(); |
| 17 ~FakeStringProvider() override; |
| 18 |
| 19 // StringProvider implementation |
| 20 base::string16 GetDoneString() override; |
| 21 base::string16 GetProductName() override; |
| 22 }; |
| 23 |
| 24 } // namespace ios |
| 25 |
| 26 #endif // IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ |
OLD | NEW |