| OLD | NEW |
| 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/browser_options_handler.h" | 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "apps/app_window.h" | |
| 11 #include "apps/app_window_registry.h" | |
| 12 #include "base/bind.h" | 10 #include "base/bind.h" |
| 13 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
| 14 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 15 #include "base/environment.h" | 13 #include "base/environment.h" |
| 16 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
| 17 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
| 18 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
| 19 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 20 #include "base/prefs/pref_service.h" | 18 #include "base/prefs/pref_service.h" |
| 21 #include "base/prefs/scoped_user_pref_update.h" | 19 #include "base/prefs/scoped_user_pref_update.h" |
| (...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1862 extension = extensions::GetExtensionOverridingProxy( | 1860 extension = extensions::GetExtensionOverridingProxy( |
| 1863 Profile::FromWebUI(web_ui())); | 1861 Profile::FromWebUI(web_ui())); |
| 1864 AppendExtensionData("proxy", extension, &extension_controlled); | 1862 AppendExtensionData("proxy", extension, &extension_controlled); |
| 1865 | 1863 |
| 1866 web_ui()->CallJavascriptFunction("BrowserOptions.toggleExtensionIndicators", | 1864 web_ui()->CallJavascriptFunction("BrowserOptions.toggleExtensionIndicators", |
| 1867 extension_controlled); | 1865 extension_controlled); |
| 1868 #endif // defined(OS_WIN) | 1866 #endif // defined(OS_WIN) |
| 1869 } | 1867 } |
| 1870 | 1868 |
| 1871 } // namespace options | 1869 } // namespace options |
| OLD | NEW |