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

Side by Side Diff: chrome/browser/policy/policy_browsertest.cc

Issue 1966133002: Run RemoveArcData after a user has opted out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unregister observer on shutdown Created 4 years, 6 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #include "components/omnibox/browser/omnibox_edit_model.h" 104 #include "components/omnibox/browser/omnibox_edit_model.h"
105 #include "components/omnibox/browser/omnibox_view.h" 105 #include "components/omnibox/browser/omnibox_view.h"
106 #include "components/policy/core/browser/browser_policy_connector.h" 106 #include "components/policy/core/browser/browser_policy_connector.h"
107 #include "components/policy/core/common/external_data_fetcher.h" 107 #include "components/policy/core/common/external_data_fetcher.h"
108 #include "components/policy/core/common/mock_configuration_policy_provider.h" 108 #include "components/policy/core/common/mock_configuration_policy_provider.h"
109 #include "components/policy/core/common/policy_map.h" 109 #include "components/policy/core/common/policy_map.h"
110 #include "components/policy/core/common/policy_pref_names.h" 110 #include "components/policy/core/common/policy_pref_names.h"
111 #include "components/policy/core/common/policy_service.h" 111 #include "components/policy/core/common/policy_service.h"
112 #include "components/policy/core/common/policy_service_impl.h" 112 #include "components/policy/core/common/policy_service_impl.h"
113 #include "components/policy/core/common/policy_types.h" 113 #include "components/policy/core/common/policy_types.h"
114 #include "components/prefs/pref_member.h"
bartfab (slow) 2016/06/10 11:05:40 This file does not declare any PrefMembers. It loo
114 #include "components/prefs/pref_service.h" 115 #include "components/prefs/pref_service.h"
115 #include "components/search/search.h" 116 #include "components/search/search.h"
116 #include "components/search_engines/template_url.h" 117 #include "components/search_engines/template_url.h"
117 #include "components/search_engines/template_url_service.h" 118 #include "components/search_engines/template_url_service.h"
118 #include "components/security_interstitials/core/controller_client.h" 119 #include "components/security_interstitials/core/controller_client.h"
119 #include "components/ssl_config/ssl_config_prefs.h" 120 #include "components/ssl_config/ssl_config_prefs.h"
120 #include "components/strings/grit/components_strings.h" 121 #include "components/strings/grit/components_strings.h"
121 #include "components/translate/core/browser/language_state.h" 122 #include "components/translate/core/browser/language_state.h"
122 #include "components/translate/core/browser/translate_infobar_delegate.h" 123 #include "components/translate/core/browser/translate_infobar_delegate.h"
123 #include "components/variations/service/variations_service.h" 124 #include "components/variations/service/variations_service.h"
(...skipping 3979 matching lines...) Expand 10 before | Expand all | Expand 10 after
4103 4104
4104 SetEmptyPolicy(); 4105 SetEmptyPolicy();
4105 // Policy not set. 4106 // Policy not set.
4106 CheckSystemTimezoneAutomaticDetectionPolicyUnset(); 4107 CheckSystemTimezoneAutomaticDetectionPolicyUnset();
4107 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false)); 4108 EXPECT_TRUE(CheckResolveTimezoneByGeolocation(true, false));
4108 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests()); 4109 EXPECT_TRUE(manager->TimeZoneResolverShouldBeRunningForTests());
4109 } 4110 }
4110 #endif // defined(OS_CHROMEOS) 4111 #endif // defined(OS_CHROMEOS)
4111 4112
4112 } // namespace policy 4113 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_test_helper.cc ('k') | chromeos/dbus/fake_session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698