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

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

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix win bots Created 3 years, 7 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/browser_options_handler.h" 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #include "components/browser_sync/profile_sync_service.h" 77 #include "components/browser_sync/profile_sync_service.h"
78 #include "components/metrics/metrics_pref_names.h" 78 #include "components/metrics/metrics_pref_names.h"
79 #include "components/policy/core/common/policy_map.h" 79 #include "components/policy/core/common/policy_map.h"
80 #include "components/policy/core/common/policy_namespace.h" 80 #include "components/policy/core/common/policy_namespace.h"
81 #include "components/policy/core/common/policy_service.h" 81 #include "components/policy/core/common/policy_service.h"
82 #include "components/policy/policy_constants.h" 82 #include "components/policy/policy_constants.h"
83 #include "components/prefs/pref_service.h" 83 #include "components/prefs/pref_service.h"
84 #include "components/prefs/scoped_user_pref_update.h" 84 #include "components/prefs/scoped_user_pref_update.h"
85 #include "components/proximity_auth/switches.h" 85 #include "components/proximity_auth/switches.h"
86 #include "components/proxy_config/proxy_config_pref_names.h" 86 #include "components/proxy_config/proxy_config_pref_names.h"
87 #include "components/safe_browsing_db/safe_browsing_prefs.h" 87 #include "components/safe_browsing/common/safe_browsing_prefs.h"
88 #include "components/search_engines/template_url.h" 88 #include "components/search_engines/template_url.h"
89 #include "components/search_engines/template_url_service.h" 89 #include "components/search_engines/template_url_service.h"
90 #include "components/signin/core/browser/signin_manager.h" 90 #include "components/signin/core/browser/signin_manager.h"
91 #include "components/signin/core/common/profile_management_switches.h" 91 #include "components/signin/core/common/profile_management_switches.h"
92 #include "components/signin/core/common/signin_pref_names.h" 92 #include "components/signin/core/common/signin_pref_names.h"
93 #include "components/strings/grit/components_strings.h" 93 #include "components/strings/grit/components_strings.h"
94 #include "components/user_manager/user_type.h" 94 #include "components/user_manager/user_type.h"
95 #include "components/zoom/page_zoom.h" 95 #include "components/zoom/page_zoom.h"
96 #include "content/public/browser/browser_thread.h" 96 #include "content/public/browser/browser_thread.h"
97 #include "content/public/browser/browser_url_handler.h" 97 #include "content/public/browser/browser_url_handler.h"
(...skipping 2254 matching lines...) Expand 10 before | Expand all | Expand 10 after
2352 2352
2353 bool BrowserOptionsHandler::IsDeviceOwnerProfile() { 2353 bool BrowserOptionsHandler::IsDeviceOwnerProfile() {
2354 #if defined(OS_CHROMEOS) 2354 #if defined(OS_CHROMEOS)
2355 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui())); 2355 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui()));
2356 #else 2356 #else
2357 return true; 2357 return true;
2358 #endif 2358 #endif
2359 } 2359 }
2360 2360
2361 } // namespace options 2361 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698