OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/extensions/api/developer_private/developer_private_api.
h" | 5 #include "chrome/browser/extensions/api/developer_private/developer_private_api.
h" |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/i18n/file_util_icu.h" | 10 #include "base/i18n/file_util_icu.h" |
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1229 webui::SetFontAndTextDirection(dict); | 1229 webui::SetFontAndTextDirection(dict); |
1230 | 1230 |
1231 #define SET_STRING(id, idr) \ | 1231 #define SET_STRING(id, idr) \ |
1232 dict->SetString(id, l10n_util::GetStringUTF16(idr)) | 1232 dict->SetString(id, l10n_util::GetStringUTF16(idr)) |
1233 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE); | 1233 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE); |
1234 | 1234 |
1235 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH); | 1235 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH); |
1236 SET_STRING("appsDevtoolNoApps", IDS_APPS_DEVTOOL_NO_APPS_INSTALLED); | 1236 SET_STRING("appsDevtoolNoApps", IDS_APPS_DEVTOOL_NO_APPS_INSTALLED); |
1237 SET_STRING("appsDevtoolApps", IDS_APPS_DEVTOOL_APPS_INSTALLED); | 1237 SET_STRING("appsDevtoolApps", IDS_APPS_DEVTOOL_APPS_INSTALLED); |
1238 SET_STRING("appsDevtoolExtensions", IDS_APPS_DEVTOOL_EXTENSIONS_INSTALLED); | 1238 SET_STRING("appsDevtoolExtensions", IDS_APPS_DEVTOOL_EXTENSIONS_INSTALLED); |
1239 SET_STRING("appsDevtoolNoExtensions", | 1239 SET_STRING("appsDevtoolNoExtensions", IDS_EXTENSIONS_NONE_INSTALLED); |
1240 IDS_EXTENSIONS_NONE_INSTALLED); | 1240 SET_STRING("appsDevtoolUnpacked", IDS_APPS_DEVTOOL_UNPACKED_INSTALLED); |
| 1241 SET_STRING("appsDevtoolNoUnpacked", IDS_APPS_DEVTOOL_NO_UNPACKED_INSTALLED); |
1241 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE); | 1242 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE); |
1242 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS); | 1243 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS); |
1243 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID); | 1244 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID); |
1244 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH); | 1245 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH); |
1245 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS); | 1246 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS); |
1246 SET_STRING("extensionSettingsInstallWarnings", | 1247 SET_STRING("extensionSettingsInstallWarnings", |
1247 IDS_EXTENSIONS_INSTALL_WARNINGS); | 1248 IDS_EXTENSIONS_INSTALL_WARNINGS); |
1248 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO); | 1249 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO); |
1249 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE); | 1250 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE); |
1250 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE); | 1251 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 | 1301 |
1301 #undef SET_STRING | 1302 #undef SET_STRING |
1302 return true; | 1303 return true; |
1303 } | 1304 } |
1304 | 1305 |
1305 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {} | 1306 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {} |
1306 | 1307 |
1307 } // namespace api | 1308 } // namespace api |
1308 | 1309 |
1309 } // namespace extensions | 1310 } // namespace extensions |
OLD | NEW |