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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 17320005: Update strings to match the final spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Null-check the signin manager for CrOS Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/ui/webui/extensions/extension_settings_handler.h" 5 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h"
6 6
7 #include "apps/app_load_service.h" 7 #include "apps/app_load_service.h"
8 #include "apps/app_restore_service.h" 8 #include "apps/app_restore_service.h"
9 #include "apps/saved_files_service.h" 9 #include "apps/saved_files_service.h"
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 l10n_util::GetStringUTF16(IDS_EXTENSIONS_OPTIONS_LINK)); 312 l10n_util::GetStringUTF16(IDS_EXTENSIONS_OPTIONS_LINK));
313 source->AddString("extensionSettingsPermissions", 313 source->AddString("extensionSettingsPermissions",
314 l10n_util::GetStringUTF16(IDS_EXTENSIONS_PERMISSIONS_LINK)); 314 l10n_util::GetStringUTF16(IDS_EXTENSIONS_PERMISSIONS_LINK));
315 source->AddString("extensionSettingsVisitWebsite", 315 source->AddString("extensionSettingsVisitWebsite",
316 l10n_util::GetStringUTF16(IDS_EXTENSIONS_VISIT_WEBSITE)); 316 l10n_util::GetStringUTF16(IDS_EXTENSIONS_VISIT_WEBSITE));
317 source->AddString("extensionSettingsVisitWebStore", 317 source->AddString("extensionSettingsVisitWebStore",
318 l10n_util::GetStringUTF16(IDS_EXTENSIONS_VISIT_WEBSTORE)); 318 l10n_util::GetStringUTF16(IDS_EXTENSIONS_VISIT_WEBSTORE));
319 source->AddString("extensionSettingsPolicyControlled", 319 source->AddString("extensionSettingsPolicyControlled",
320 l10n_util::GetStringUTF16(IDS_EXTENSIONS_POLICY_CONTROLLED)); 320 l10n_util::GetStringUTF16(IDS_EXTENSIONS_POLICY_CONTROLLED));
321 source->AddString("extensionSettingsManagedMode", 321 source->AddString("extensionSettingsManagedMode",
322 l10n_util::GetStringUTF16(IDS_EXTENSIONS_LOCKED_MANAGED_MODE)); 322 l10n_util::GetStringUTF16(IDS_EXTENSIONS_LOCKED_MANAGED_USER));
323 source->AddString("sideloadWipeoutUrl", 323 source->AddString("sideloadWipeoutUrl",
324 chrome::kSideloadWipeoutHelpURL); 324 chrome::kSideloadWipeoutHelpURL);
325 source->AddString("sideloadWipoutLearnMore", 325 source->AddString("sideloadWipoutLearnMore",
326 l10n_util::GetStringUTF16(IDS_LEARN_MORE)); 326 l10n_util::GetStringUTF16(IDS_LEARN_MORE));
327 source->AddString("extensionSettingsShowButton", 327 source->AddString("extensionSettingsShowButton",
328 l10n_util::GetStringUTF16(IDS_EXTENSIONS_SHOW_BUTTON)); 328 l10n_util::GetStringUTF16(IDS_EXTENSIONS_SHOW_BUTTON));
329 source->AddString("extensionSettingsLoadUnpackedButton", 329 source->AddString("extensionSettingsLoadUnpackedButton",
330 l10n_util::GetStringUTF16(IDS_EXTENSIONS_LOAD_UNPACKED_BUTTON)); 330 l10n_util::GetStringUTF16(IDS_EXTENSIONS_LOAD_UNPACKED_BUTTON));
331 source->AddString("extensionSettingsPackButton", 331 source->AddString("extensionSettingsPackButton",
332 l10n_util::GetStringUTF16(IDS_EXTENSIONS_PACK_BUTTON)); 332 l10n_util::GetStringUTF16(IDS_EXTENSIONS_PACK_BUTTON));
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 std::vector<std::string> requirement_errors) { 1065 std::vector<std::string> requirement_errors) {
1066 if (requirement_errors.empty()) { 1066 if (requirement_errors.empty()) {
1067 extension_service_->EnableExtension(extension_id); 1067 extension_service_->EnableExtension(extension_id);
1068 } else { 1068 } else {
1069 ExtensionErrorReporter::GetInstance()->ReportError( 1069 ExtensionErrorReporter::GetInstance()->ReportError(
1070 UTF8ToUTF16(JoinString(requirement_errors, ' ')), 1070 UTF8ToUTF16(JoinString(requirement_errors, ' ')),
1071 true /* be noisy */); 1071 true /* be noisy */);
1072 } 1072 }
1073 requirements_checker_.reset(); 1073 requirements_checker_.reset();
1074 } 1074 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698