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

Side by Side Diff: ios/public/test/fake_string_provider.h

Issue 1500533002: Upstream chrome://flags & chrome://ui-alternatives iOS WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add components/flags_ui/resources/apple_flags.css to PRESUBMIT blacklist Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ 5 #ifndef IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_
6 #define IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ 6 #define IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ios/public/provider/chrome/browser/string_provider.h" 9 #include "ios/public/provider/chrome/browser/string_provider.h"
10 10
11 namespace ios { 11 namespace ios {
12 12
13 // An impementation of StringProvider for use in tests. 13 // An impementation of StringProvider for use in tests.
14 class FakeStringProvider : public StringProvider { 14 class FakeStringProvider : public StringProvider {
15 public: 15 public:
16 FakeStringProvider(); 16 FakeStringProvider();
17 ~FakeStringProvider() override; 17 ~FakeStringProvider() override;
18 18
19 // StringProvider implementation 19 // StringProvider implementation
20 std::string GetOmniboxCopyUrlString() override; 20 std::string GetOmniboxCopyUrlString() override;
21 int GetAppleFlagsTableTitleID() override;
22 int GetAppleFlagsNoExperimentsAvailableID() override;
23 base::string16 GetSpoofingInterstitialTitle() override; 21 base::string16 GetSpoofingInterstitialTitle() override;
24 base::string16 GetSpoofingInterstitialHeadline() override; 22 base::string16 GetSpoofingInterstitialHeadline() override;
25 base::string16 GetSpoofingInterstitialMessage() override; 23 base::string16 GetSpoofingInterstitialMessage() override;
26 base::string16 GetSpoofingInterstitialDetails() override; 24 base::string16 GetSpoofingInterstitialDetails() override;
27 base::string16 GetSpoofingInterstitialFailure() override; 25 base::string16 GetSpoofingInterstitialFailure() override;
28 int GetUnsafePortTitleID() override; 26 int GetUnsafePortTitleID() override;
29 int GetUnsafePortHeadlineID() override; 27 int GetUnsafePortHeadlineID() override;
30 int GetUnsafePortMessageID() override; 28 int GetUnsafePortMessageID() override;
31 int GetUnsafePortDetailsID() override; 29 int GetUnsafePortDetailsID() override;
32 base::string16 GetDoneString() override; 30 base::string16 GetDoneString() override;
33 base::string16 GetOKString() override; 31 base::string16 GetOKString() override;
34 base::string16 GetProductName() override; 32 base::string16 GetProductName() override;
35 }; 33 };
36 34
37 } // namespace ios 35 } // namespace ios
38 36
39 #endif // IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_ 37 #endif // IOS_PUBLIC_TEST_FAKE_STRING_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/string_provider.h ('k') | ios/public/test/fake_string_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698