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/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/i18n/file_util_icu.h" | 9 #include "base/i18n/file_util_icu.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 SetResult(dict); | 1211 SetResult(dict); |
1212 | 1212 |
1213 #define SET_STRING(id, idr) \ | 1213 #define SET_STRING(id, idr) \ |
1214 dict->SetString(id, l10n_util::GetStringUTF16(idr)) | 1214 dict->SetString(id, l10n_util::GetStringUTF16(idr)) |
1215 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE); | 1215 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE); |
1216 | 1216 |
1217 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH); | 1217 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH); |
1218 SET_STRING("appsDevtoolNoApps", IDS_APPS_DEVTOOL_NO_APPS_INSTALLED); | 1218 SET_STRING("appsDevtoolNoApps", IDS_APPS_DEVTOOL_NO_APPS_INSTALLED); |
1219 SET_STRING("appsDevtoolApps", IDS_APPS_DEVTOOL_APPS_INSTALLED); | 1219 SET_STRING("appsDevtoolApps", IDS_APPS_DEVTOOL_APPS_INSTALLED); |
1220 SET_STRING("appsDevtoolExtensions", IDS_APPS_DEVTOOL_EXTENSIONS_INSTALLED); | 1220 SET_STRING("appsDevtoolExtensions", IDS_APPS_DEVTOOL_EXTENSIONS_INSTALLED); |
1221 SET_STRING("appsDevtoolNoExtensions", | 1221 SET_STRING("appsDevtoolNoExtensions", IDS_EXTENSIONS_NONE_INSTALLED); |
1222 IDS_EXTENSIONS_NONE_INSTALLED); | 1222 SET_STRING("appsDevtoolUnpacked", IDS_APPS_DEVTOOL_UNPACKED_INSTALLED); |
| 1223 SET_STRING("appsDevtoolNoUnpacked", IDS_APPS_DEVTOOL_NO_UNPACKED_INSTALLED); |
1223 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE); | 1224 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE); |
1224 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS); | 1225 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS); |
1225 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID); | 1226 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID); |
1226 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH); | 1227 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH); |
1227 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS); | 1228 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS); |
1228 SET_STRING("extensionSettingsInstallWarnings", | 1229 SET_STRING("extensionSettingsInstallWarnings", |
1229 IDS_EXTENSIONS_INSTALL_WARNINGS); | 1230 IDS_EXTENSIONS_INSTALL_WARNINGS); |
1230 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO); | 1231 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO); |
1231 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE); | 1232 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE); |
1232 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE); | 1233 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 | 1283 |
1283 #undef SET_STRING | 1284 #undef SET_STRING |
1284 return true; | 1285 return true; |
1285 } | 1286 } |
1286 | 1287 |
1287 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {} | 1288 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {} |
1288 | 1289 |
1289 } // namespace api | 1290 } // namespace api |
1290 | 1291 |
1291 } // namespace extensions | 1292 } // namespace extensions |
OLD | NEW |