| OLD | NEW |
| 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_PROVIDER_CHROME_BROWSER_STRING_PROVIDER_H_ | 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_STRING_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_STRING_PROVIDER_H_ | 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_STRING_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 namespace ios { | 10 namespace ios { |
| 11 | 11 |
| 12 // A class that provides access to localized strings. | 12 // A class that provides access to localized strings. |
| 13 class StringProvider { | 13 class StringProvider { |
| 14 public: | 14 public: |
| 15 StringProvider() {}; | 15 StringProvider() {} |
| 16 virtual ~StringProvider() {}; | 16 virtual ~StringProvider() {} |
| 17 | 17 |
| 18 // Strings used in //ios/chrome. | 18 // Strings used in //ios/chrome. |
| 19 // TODO(droger): Find a long term solution for strings used in //ios/chrome. | 19 // TODO(droger): Find a long term solution for strings used in //ios/chrome. |
| 20 | 20 |
| 21 // Returns a generic "Done" string. | 21 // Returns a generic "Done" string. |
| 22 virtual base::string16 GetDoneString() = 0; | 22 virtual base::string16 GetDoneString() = 0; |
| 23 // Returns the product name (e.g. "Google Chrome"). | 23 // Returns the product name (e.g. "Google Chrome"). |
| 24 virtual base::string16 GetProductName() = 0; | 24 virtual base::string16 GetProductName() = 0; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace ios | 27 } // namespace ios |
| 28 | 28 |
| 29 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_STRING_PROVIDER_H_ | 29 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_STRING_PROVIDER_H_ |
| OLD | NEW |