Index: ios/public/test/fake_string_provider.h |
diff --git a/ios/public/test/fake_string_provider.h b/ios/public/test/fake_string_provider.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c5818b37b59a24381ba4991320245817a2a4467 |
--- /dev/null |
+++ b/ios/public/test/fake_string_provider.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ |
+#define IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ |
+ |
+#include "base/compiler_specific.h" |
+#include "ios/public/provider/chrome/browser/string_provider.h" |
+ |
+namespace ios { |
+ |
+// An impementation of StringProvider for use in tests. |
+class FakeStringProvider : public StringProvider { |
+ public: |
+ FakeStringProvider(); |
+ ~FakeStringProvider() override; |
+ |
+ // StringProvider implementation |
+ base::string16 GetDoneString() override; |
+ base::string16 GetProductName() override; |
+}; |
+ |
+} // namespace ios |
+ |
+#endif // IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ |