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

Unified Diff: blimp/client/support/resources/blimp_strings.h

Issue 2406203003: Added blimp support strings. (Closed)
Patch Set: Add entry in translation expectation script. Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698