Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: ios/public/test/fake_string_provider.h

Issue 809333003: Upstream //ios/chrome/browser/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698