Chromium Code Reviews| Index: content/public/common/content_client.h |
| diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h |
| index 9d51d5ba83d4cf5a458f84137d963d39063c7c40..2ef3fdc43a5e559444524a73dd6009e3269532ce 100644 |
| --- a/content/public/common/content_client.h |
| +++ b/content/public/common/content_client.h |
| @@ -106,6 +106,12 @@ class CONTENT_EXPORT ContentClient { |
| // Returns a string resource given its id. |
| virtual base::string16 GetLocalizedString(int message_id) const; |
| + // Returns a string resource given its id, and additionally replace |
| + // $0 with |string0| and $$ with $. |
| + virtual base::string16 GetLocalizedStringF( |
| + int message_id, |
| + const base::string16& string0) const; |
|
David Tseng
2016/02/02 18:38:57
Is it worth it to make this take any number of str
dmazzoni
2016/02/03 17:55:07
Not sure, I'll ask the owners. I lean towards the
|
| + |
| // Return the contents of a resource in a StringPiece given the resource id. |
| virtual base::StringPiece GetDataResource( |
| int resource_id, |