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

Side by Side Diff: chrome/browser/ui/webui/options/core_options_handler.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 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
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/options/core_options_handler.h" 5 #include "chrome/browser/ui/webui/options/core_options_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/browser_process.h" 22 #include "chrome/browser/browser_process.h"
23 #include "chrome/browser/chrome_notification_types.h" 23 #include "chrome/browser/chrome_notification_types.h"
24 #include "chrome/browser/extensions/extension_service.h" 24 #include "chrome/browser/extensions/extension_service.h"
25 #include "chrome/browser/extensions/extension_util.h" 25 #include "chrome/browser/extensions/extension_util.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
28 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
29 #include "chrome/common/url_constants.h" 29 #include "chrome/common/url_constants.h"
30 #include "chrome/grit/chromium_strings.h" 30 #include "chrome/grit/chromium_strings.h"
31 #include "chrome/grit/generated_resources.h" 31 #include "chrome/grit/generated_resources.h"
32 #include "chrome/grit/locale_settings.h"
33 #include "components/proxy_config/proxy_config_pref_names.h" 32 #include "components/proxy_config/proxy_config_pref_names.h"
34 #include "components/strings/grit/components_strings.h" 33 #include "components/strings/grit/components_strings.h"
35 #include "components/url_formatter/url_fixer.h" 34 #include "components/url_formatter/url_fixer.h"
36 #include "content/public/browser/notification_details.h" 35 #include "content/public/browser/notification_details.h"
37 #include "content/public/browser/notification_types.h" 36 #include "content/public/browser/notification_types.h"
38 #include "content/public/browser/web_ui.h" 37 #include "content/public/browser/web_ui.h"
39 #include "extensions/browser/extension_pref_value_map.h" 38 #include "extensions/browser/extension_pref_value_map.h"
40 #include "extensions/browser/extension_pref_value_map_factory.h" 39 #include "extensions/browser/extension_pref_value_map_factory.h"
41 #include "extensions/browser/extension_registry.h" 40 #include "extensions/browser/extension_registry.h"
42 #include "extensions/browser/extension_system.h" 41 #include "extensions/browser/extension_system.h"
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 plugin_status_pref_setter_.IsPepperFlashSettingsEnabled()); 655 plugin_status_pref_setter_.IsPepperFlashSettingsEnabled());
657 web_ui()->CallJavascriptFunctionUnsafe( 656 web_ui()->CallJavascriptFunctionUnsafe(
658 "options.OptionsPage.setPepperFlashSettingsEnabled", enabled); 657 "options.OptionsPage.setPepperFlashSettingsEnabled", enabled);
659 } 658 }
660 659
661 bool CoreOptionsHandler::IsUserUnsupervised(const base::Value* to_value) { 660 bool CoreOptionsHandler::IsUserUnsupervised(const base::Value* to_value) {
662 return !Profile::FromWebUI(web_ui())->IsSupervised(); 661 return !Profile::FromWebUI(web_ui())->IsSupervised();
663 } 662 }
664 663
665 } // namespace options 664 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/proxy_handler.cc ('k') | chrome/browser/ui/webui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698