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

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

Issue 514493002: Cleanup: Remove unneeded grit include in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@grit_clean_chromium_strings_401588_a
Patch Set: rebase 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
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/browser_resources.h"
98 #include "grit/theme_resources.h"
99 #include "ui/base/l10n/l10n_util.h" 97 #include "ui/base/l10n/l10n_util.h"
100 98
101 using base::DictionaryValue; 99 using base::DictionaryValue;
102 using base::ListValue; 100 using base::ListValue;
103 using content::RenderViewHost; 101 using content::RenderViewHost;
104 using content::WebContents; 102 using content::WebContents;
105 103
106 namespace { 104 namespace {
107 const char kAppsDeveloperToolsExtensionId[] = 105 const char kAppsDeveloperToolsExtensionId[] =
108 "ohmmkhmmmpcnpikjeljgnaoabkaalbgc"; 106 "ohmmkhmmmpcnpikjeljgnaoabkaalbgc";
(...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 extension_service_->EnableExtension(extension_id); 1412 extension_service_->EnableExtension(extension_id);
1415 } else { 1413 } else {
1416 ExtensionErrorReporter::GetInstance()->ReportError( 1414 ExtensionErrorReporter::GetInstance()->ReportError(
1417 base::UTF8ToUTF16(JoinString(requirement_errors, ' ')), 1415 base::UTF8ToUTF16(JoinString(requirement_errors, ' ')),
1418 true); // Be noisy. 1416 true); // Be noisy.
1419 } 1417 }
1420 requirements_checker_.reset(); 1418 requirements_checker_.reset();
1421 } 1419 }
1422 1420
1423 } // namespace extensions 1421 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698