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

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

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 years, 3 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "chrome/common/chrome_constants.h" 64 #include "chrome/common/chrome_constants.h"
65 #include "chrome/common/chrome_features.h" 65 #include "chrome/common/chrome_features.h"
66 #include "chrome/common/chrome_paths.h" 66 #include "chrome/common/chrome_paths.h"
67 #include "chrome/common/chrome_switches.h" 67 #include "chrome/common/chrome_switches.h"
68 #include "chrome/common/extensions/extension_constants.h" 68 #include "chrome/common/extensions/extension_constants.h"
69 #include "chrome/common/pref_names.h" 69 #include "chrome/common/pref_names.h"
70 #include "chrome/common/url_constants.h" 70 #include "chrome/common/url_constants.h"
71 #include "chrome/grit/chromium_strings.h" 71 #include "chrome/grit/chromium_strings.h"
72 #include "chrome/grit/generated_resources.h" 72 #include "chrome/grit/generated_resources.h"
73 #include "chrome/grit/locale_settings.h" 73 #include "chrome/grit/locale_settings.h"
74 #include "components/browser_sync/browser/profile_sync_service.h" 74 #include "components/browser_sync/profile_sync_service.h"
75 #include "components/metrics/metrics_pref_names.h" 75 #include "components/metrics/metrics_pref_names.h"
76 #include "components/policy/core/common/policy_map.h" 76 #include "components/policy/core/common/policy_map.h"
77 #include "components/policy/core/common/policy_namespace.h" 77 #include "components/policy/core/common/policy_namespace.h"
78 #include "components/policy/core/common/policy_service.h" 78 #include "components/policy/core/common/policy_service.h"
79 #include "components/policy/policy_constants.h" 79 #include "components/policy/policy_constants.h"
80 #include "components/prefs/pref_service.h" 80 #include "components/prefs/pref_service.h"
81 #include "components/prefs/scoped_user_pref_update.h" 81 #include "components/prefs/scoped_user_pref_update.h"
82 #include "components/proximity_auth/switches.h" 82 #include "components/proximity_auth/switches.h"
83 #include "components/proxy_config/proxy_config_pref_names.h" 83 #include "components/proxy_config/proxy_config_pref_names.h"
84 #include "components/search_engines/template_url.h" 84 #include "components/search_engines/template_url.h"
(...skipping 2148 matching lines...) Expand 10 before | Expand all | Expand 10 after
2233 2233
2234 bool BrowserOptionsHandler::IsDeviceOwnerProfile() { 2234 bool BrowserOptionsHandler::IsDeviceOwnerProfile() {
2235 #if defined(OS_CHROMEOS) 2235 #if defined(OS_CHROMEOS)
2236 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui())); 2236 return chromeos::ProfileHelper::IsOwnerProfile(Profile::FromWebUI(web_ui()));
2237 #else 2237 #else
2238 return true; 2238 return true;
2239 #endif 2239 #endif
2240 } 2240 }
2241 2241
2242 } // namespace options 2242 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc ('k') | chrome/browser/ui/webui/options/clear_browser_data_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698