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

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

Issue 530963002: Move IDS_LEARN_MORE to components_strings.grd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 3 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
« no previous file with comments | « chrome/browser/ui/webui/conflicts_ui.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/saved_files_service.h" 8 #include "apps/saved_files_service.h"
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/base64.h" 10 #include "base/base64.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 #include "extensions/common/constants.h" 87 #include "extensions/common/constants.h"
88 #include "extensions/common/extension.h" 88 #include "extensions/common/extension.h"
89 #include "extensions/common/extension_icon_set.h" 89 #include "extensions/common/extension_icon_set.h"
90 #include "extensions/common/extension_set.h" 90 #include "extensions/common/extension_set.h"
91 #include "extensions/common/feature_switch.h" 91 #include "extensions/common/feature_switch.h"
92 #include "extensions/common/manifest.h" 92 #include "extensions/common/manifest.h"
93 #include "extensions/common/manifest_handlers/background_info.h" 93 #include "extensions/common/manifest_handlers/background_info.h"
94 #include "extensions/common/manifest_handlers/incognito_info.h" 94 #include "extensions/common/manifest_handlers/incognito_info.h"
95 #include "extensions/common/permissions/permissions_data.h" 95 #include "extensions/common/permissions/permissions_data.h"
96 #include "extensions/common/switches.h" 96 #include "extensions/common/switches.h"
97 #include "grit/components_strings.h"
97 #include "ui/base/l10n/l10n_util.h" 98 #include "ui/base/l10n/l10n_util.h"
98 99
99 using base::DictionaryValue; 100 using base::DictionaryValue;
100 using base::ListValue; 101 using base::ListValue;
101 using content::RenderViewHost; 102 using content::RenderViewHost;
102 using content::WebContents; 103 using content::WebContents;
103 104
104 namespace { 105 namespace {
105 const char kAppsDeveloperToolsExtensionId[] = 106 const char kAppsDeveloperToolsExtensionId[] =
106 "ohmmkhmmmpcnpikjeljgnaoabkaalbgc"; 107 "ohmmkhmmmpcnpikjeljgnaoabkaalbgc";
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 extension_service_->EnableExtension(extension_id); 1413 extension_service_->EnableExtension(extension_id);
1413 } else { 1414 } else {
1414 ExtensionErrorReporter::GetInstance()->ReportError( 1415 ExtensionErrorReporter::GetInstance()->ReportError(
1415 base::UTF8ToUTF16(JoinString(requirement_errors, ' ')), 1416 base::UTF8ToUTF16(JoinString(requirement_errors, ' ')),
1416 true); // Be noisy. 1417 true); // Be noisy.
1417 } 1418 }
1418 requirements_checker_.reset(); 1419 requirements_checker_.reset();
1419 } 1420 }
1420 1421
1421 } // namespace extensions 1422 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/conflicts_ui.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698