OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/ui/webui/flags_ui.h" | 5 #include "ios/chrome/browser/ui/webui/flags_ui.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted_memory.h" | 13 #include "base/memory/ref_counted_memory.h" |
14 #include "base/prefs/pref_registry_simple.h" | |
15 #include "base/prefs/pref_service.h" | |
16 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
17 #include "base/values.h" | 15 #include "base/values.h" |
18 #include "components/flags_ui/flags_ui_constants.h" | 16 #include "components/flags_ui/flags_ui_constants.h" |
19 #include "components/flags_ui/flags_ui_pref_names.h" | 17 #include "components/flags_ui/flags_ui_pref_names.h" |
20 #include "components/flags_ui/pref_service_flags_storage.h" | 18 #include "components/flags_ui/pref_service_flags_storage.h" |
| 19 #include "components/prefs/pref_registry_simple.h" |
| 20 #include "components/prefs/pref_service.h" |
21 #include "components/version_info/version_info.h" | 21 #include "components/version_info/version_info.h" |
22 #include "grit/components_chromium_strings.h" | 22 #include "grit/components_chromium_strings.h" |
23 #include "grit/components_google_chrome_strings.h" | 23 #include "grit/components_google_chrome_strings.h" |
24 #include "grit/components_resources.h" | 24 #include "grit/components_resources.h" |
25 #include "grit/components_scaled_resources.h" | 25 #include "grit/components_scaled_resources.h" |
26 #include "grit/components_strings.h" | 26 #include "grit/components_strings.h" |
27 #include "ios/chrome/browser/about_flags.h" | 27 #include "ios/chrome/browser/about_flags.h" |
28 #include "ios/chrome/browser/application_context.h" | 28 #include "ios/chrome/browser/application_context.h" |
29 #include "ios/chrome/browser/chrome_url_constants.h" | 29 #include "ios/chrome/browser/chrome_url_constants.h" |
30 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.
h" | 30 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.
h" |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 /////////////////////////////////////////////////////////////////////////////// | 254 /////////////////////////////////////////////////////////////////////////////// |
255 // | 255 // |
256 // AppleFlagsUI | 256 // AppleFlagsUI |
257 // | 257 // |
258 /////////////////////////////////////////////////////////////////////////////// | 258 /////////////////////////////////////////////////////////////////////////////// |
259 | 259 |
260 AppleFlagsUI::AppleFlagsUI(web::WebUIIOS* web_ui) | 260 AppleFlagsUI::AppleFlagsUI(web::WebUIIOS* web_ui) |
261 : BaseFlagsUI(web_ui, BaseFlagsUI::FLAGS_UI_APPLE) {} | 261 : BaseFlagsUI(web_ui, BaseFlagsUI::FLAGS_UI_APPLE) {} |
262 | 262 |
263 AppleFlagsUI::~AppleFlagsUI() {} | 263 AppleFlagsUI::~AppleFlagsUI() {} |
OLD | NEW |