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

Side by Side Diff: ios/chrome/browser/ui/webui/flags_ui.cc

Issue 1662843002: Revert of Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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"
14 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
15 #include "base/values.h" 17 #include "base/values.h"
16 #include "components/flags_ui/flags_ui_constants.h" 18 #include "components/flags_ui/flags_ui_constants.h"
17 #include "components/flags_ui/flags_ui_pref_names.h" 19 #include "components/flags_ui/flags_ui_pref_names.h"
18 #include "components/flags_ui/pref_service_flags_storage.h" 20 #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
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() {}
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.mm ('k') | ios/chrome/browser/ui/webui/history/browsing_history_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698