Chromium Code Reviews| Index: blimp/client/support/resources/blimp_strings.h |
| diff --git a/blimp/client/support/resources/blimp_strings.h b/blimp/client/support/resources/blimp_strings.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f0826cd6f9e2d10790d189408e0364020689eb3f |
| --- /dev/null |
| +++ b/blimp/client/support/resources/blimp_strings.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2016 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 BLIMP_CLIENT_SUPPORT_RESOURCES_BLIMP_STRINGS_H_ |
| +#define BLIMP_CLIENT_SUPPORT_RESOURCES_BLIMP_STRINGS_H_ |
| + |
| +#include "blimp/client/support/resources/grit/blimp_strings.h" |
| + |
| +#include "ui/base/l10n/l10n_util.h" |
| + |
| +// Include this header to access blimp public string id. |
| +// Do not directly include grit/blimp_strings.h. |
| + |
| +namespace blimp { |
| +namespace string { |
| + |
| +base::string16 BlimpPrefix(const base::string16& str) { |
|
Lei Zhang
2016/10/13 18:09:48
Is there a bot that builds this with clang + clang
xingliu
2016/10/13 21:00:14
Moved this into cc file.
|
| + return l10n_util::GetStringFUTF16(IDS_BLIMP_TAG, str); |
| +} |
| + |
| +} // namespace string |
| +} // namespace blimp |
| + |
| +#endif // BLIMP_CLIENT_SUPPORT_RESOURCES_BLIMP_STRINGS_H_ |