| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/gtk/options/advanced_contents_gtk.h" | 5 #include "chrome/browser/gtk/options/advanced_contents_gtk.h" |
| 6 | 6 |
| 7 #include <sys/types.h> | 7 #include <sys/types.h> |
| 8 #include <sys/wait.h> | 8 #include <sys/wait.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "chrome/browser/gtk/options/options_layout_gtk.h" | 34 #include "chrome/browser/gtk/options/options_layout_gtk.h" |
| 35 #include "chrome/browser/prefs/pref_member.h" | 35 #include "chrome/browser/prefs/pref_member.h" |
| 36 #include "chrome/browser/prefs/pref_set_observer.h" | 36 #include "chrome/browser/prefs/pref_set_observer.h" |
| 37 #include "chrome/browser/profiles/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
| 38 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 38 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
| 39 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 39 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 40 #include "chrome/browser/ui/options/options_page_base.h" | 40 #include "chrome/browser/ui/options/options_page_base.h" |
| 41 #include "chrome/browser/ui/options/options_util.h" | 41 #include "chrome/browser/ui/options/options_util.h" |
| 42 #include "chrome/browser/ui/options/show_options_url.h" | 42 #include "chrome/browser/ui/options/show_options_url.h" |
| 43 #include "chrome/common/chrome_paths.h" | 43 #include "chrome/common/chrome_paths.h" |
| 44 #include "chrome/common/chrome_switches.h" | |
| 45 #include "chrome/common/pref_names.h" | 44 #include "chrome/common/pref_names.h" |
| 46 #include "chrome/common/process_watcher.h" | 45 #include "chrome/common/process_watcher.h" |
| 47 #include "chrome/common/url_constants.h" | 46 #include "chrome/common/url_constants.h" |
| 48 #include "grit/chromium_strings.h" | 47 #include "grit/chromium_strings.h" |
| 49 #include "grit/generated_resources.h" | 48 #include "grit/generated_resources.h" |
| 50 #include "grit/locale_settings.h" | 49 #include "grit/locale_settings.h" |
| 51 | 50 |
| 52 namespace { | 51 namespace { |
| 53 | 52 |
| 54 // Command used to configure GNOME proxy settings. The command was renamed | 53 // Command used to configure GNOME proxy settings. The command was renamed |
| (...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 l10n_util::GetStringUTF8(IDS_OPTIONS_ADVANCED_SECTION_TITLE_CONTENT), | 1226 l10n_util::GetStringUTF8(IDS_OPTIONS_ADVANCED_SECTION_TITLE_CONTENT), |
| 1228 web_content_section_->get_page_widget(), false); | 1227 web_content_section_->get_page_widget(), false); |
| 1229 | 1228 |
| 1230 security_section_.reset(new SecuritySection(profile_)); | 1229 security_section_.reset(new SecuritySection(profile_)); |
| 1231 options_builder->AddOptionGroup( | 1230 options_builder->AddOptionGroup( |
| 1232 l10n_util::GetStringUTF8(IDS_OPTIONS_ADVANCED_SECTION_TITLE_SECURITY), | 1231 l10n_util::GetStringUTF8(IDS_OPTIONS_ADVANCED_SECTION_TITLE_SECURITY), |
| 1233 security_section_->get_page_widget(), false); | 1232 security_section_->get_page_widget(), false); |
| 1234 | 1233 |
| 1235 page_ = options_builder->get_page_widget(); | 1234 page_ = options_builder->get_page_widget(); |
| 1236 } | 1235 } |
| OLD | NEW |