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

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

Issue 1133613007: Move password_manager_util and password_bubble_experiment to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@486739_componentise_experiment_utils_to_ios_sources
Patch Set: Created 5 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 <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "chrome/browser/signin/easy_unlock_service.h" 51 #include "chrome/browser/signin/easy_unlock_service.h"
52 #include "chrome/browser/signin/signin_manager_factory.h" 52 #include "chrome/browser/signin/signin_manager_factory.h"
53 #include "chrome/browser/sync/profile_sync_service.h" 53 #include "chrome/browser/sync/profile_sync_service.h"
54 #include "chrome/browser/sync/profile_sync_service_factory.h" 54 #include "chrome/browser/sync/profile_sync_service_factory.h"
55 #include "chrome/browser/sync/sync_ui_util.h" 55 #include "chrome/browser/sync/sync_ui_util.h"
56 #include "chrome/browser/themes/theme_service.h" 56 #include "chrome/browser/themes/theme_service.h"
57 #include "chrome/browser/themes/theme_service_factory.h" 57 #include "chrome/browser/themes/theme_service_factory.h"
58 #include "chrome/browser/ui/browser_finder.h" 58 #include "chrome/browser/ui/browser_finder.h"
59 #include "chrome/browser/ui/chrome_select_file_policy.h" 59 #include "chrome/browser/ui/chrome_select_file_policy.h"
60 #include "chrome/browser/ui/host_desktop.h" 60 #include "chrome/browser/ui/host_desktop.h"
61 #include "chrome/browser/ui/passwords/password_bubble_experiment.h"
62 #include "chrome/browser/ui/webui/favicon_source.h" 61 #include "chrome/browser/ui/webui/favicon_source.h"
63 #include "chrome/browser/ui/webui/options/options_handlers_helper.h" 62 #include "chrome/browser/ui/webui/options/options_handlers_helper.h"
64 #include "chrome/common/chrome_constants.h" 63 #include "chrome/common/chrome_constants.h"
65 #include "chrome/common/chrome_paths.h" 64 #include "chrome/common/chrome_paths.h"
66 #include "chrome/common/chrome_switches.h" 65 #include "chrome/common/chrome_switches.h"
67 #include "chrome/common/extensions/extension_constants.h" 66 #include "chrome/common/extensions/extension_constants.h"
68 #include "chrome/common/pref_names.h" 67 #include "chrome/common/pref_names.h"
69 #include "chrome/common/url_constants.h" 68 #include "chrome/common/url_constants.h"
70 #include "chrome/grit/chromium_strings.h" 69 #include "chrome/grit/chromium_strings.h"
71 #include "chrome/grit/generated_resources.h" 70 #include "chrome/grit/generated_resources.h"
72 #include "chrome/grit/locale_settings.h" 71 #include "chrome/grit/locale_settings.h"
72 #include "components/password_manager/core/browser/password_bubble_experiment.h"
73 #include "components/policy/core/common/policy_map.h" 73 #include "components/policy/core/common/policy_map.h"
74 #include "components/policy/core/common/policy_namespace.h" 74 #include "components/policy/core/common/policy_namespace.h"
75 #include "components/policy/core/common/policy_service.h" 75 #include "components/policy/core/common/policy_service.h"
76 #include "components/proximity_auth/switches.h" 76 #include "components/proximity_auth/switches.h"
77 #include "components/search_engines/template_url.h" 77 #include "components/search_engines/template_url.h"
78 #include "components/search_engines/template_url_service.h" 78 #include "components/search_engines/template_url_service.h"
79 #include "components/signin/core/browser/signin_manager.h" 79 #include "components/signin/core/browser/signin_manager.h"
80 #include "components/signin/core/common/profile_management_switches.h" 80 #include "components/signin/core/common/profile_management_switches.h"
81 #include "components/ui/zoom/page_zoom.h" 81 #include "components/ui/zoom/page_zoom.h"
82 #include "components/user_manager/user_type.h" 82 #include "components/user_manager/user_type.h"
(...skipping 2090 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 void BrowserOptionsHandler::OnPolicyUpdated(const policy::PolicyNamespace& ns, 2173 void BrowserOptionsHandler::OnPolicyUpdated(const policy::PolicyNamespace& ns,
2174 const policy::PolicyMap& previous, 2174 const policy::PolicyMap& previous,
2175 const policy::PolicyMap& current) { 2175 const policy::PolicyMap& current) {
2176 std::set<std::string> different_keys; 2176 std::set<std::string> different_keys;
2177 current.GetDifferingKeys(previous, &different_keys); 2177 current.GetDifferingKeys(previous, &different_keys);
2178 if (ContainsKey(different_keys, policy::key::kMetricsReportingEnabled)) 2178 if (ContainsKey(different_keys, policy::key::kMetricsReportingEnabled))
2179 SetupMetricsReportingCheckbox(); 2179 SetupMetricsReportingCheckbox();
2180 } 2180 }
2181 2181
2182 } // namespace options 2182 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698