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.
5 #ifndef IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_
6 #define IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_
8 #include "base/compiler_specific.h"
9 #include "ios/public/provider/chrome/browser/string_provider.h"
13 // An impementation of StringProvider for use in tests.
14 class FakeStringProvider
: public StringProvider
{
17 ~FakeStringProvider() override
;
19 // StringProvider implementation
20 std::string
GetOmniboxCopyUrlString() override
;
21 int GetAppleFlagsTableTitleID() override
;
22 int GetAppleFlagsNoExperimentsAvailableID() override
;
23 base::string16
GetSpoofingInterstitialTitle() override
;
24 base::string16
GetSpoofingInterstitialHeadline() override
;
25 base::string16
GetSpoofingInterstitialMessage() override
;
26 base::string16
GetSpoofingInterstitialDetails() override
;
27 base::string16
GetSpoofingInterstitialFailure() override
;
28 int GetUnsafePortTitleID() override
;
29 int GetUnsafePortHeadlineID() override
;
30 int GetUnsafePortMessageID() override
;
31 int GetUnsafePortDetailsID() override
;
32 base::string16
GetDoneString() override
;
33 base::string16
GetOKString() override
;
34 base::string16
GetProductName() override
;
39 #endif // IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_