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

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

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 #include "components/policy/core/common/mock_configuration_policy_provider.h" 96 #include "components/policy/core/common/mock_configuration_policy_provider.h"
97 #include "components/policy/core/common/policy_map.h" 97 #include "components/policy/core/common/policy_map.h"
98 #include "components/policy/core/common/policy_pref_names.h" 98 #include "components/policy/core/common/policy_pref_names.h"
99 #include "components/policy/core/common/policy_service.h" 99 #include "components/policy/core/common/policy_service.h"
100 #include "components/policy/core/common/policy_service_impl.h" 100 #include "components/policy/core/common/policy_service_impl.h"
101 #include "components/search/search.h" 101 #include "components/search/search.h"
102 #include "components/search_engines/template_url.h" 102 #include "components/search_engines/template_url.h"
103 #include "components/search_engines/template_url_service.h" 103 #include "components/search_engines/template_url_service.h"
104 #include "components/translate/core/browser/language_state.h" 104 #include "components/translate/core/browser/language_state.h"
105 #include "components/translate/core/browser/translate_infobar_delegate.h" 105 #include "components/translate/core/browser/translate_infobar_delegate.h"
106 #include "components/version_info/version_info.h"
106 #include "content/public/browser/browser_child_process_host_iterator.h" 107 #include "content/public/browser/browser_child_process_host_iterator.h"
107 #include "content/public/browser/browser_context.h" 108 #include "content/public/browser/browser_context.h"
108 #include "content/public/browser/browser_thread.h" 109 #include "content/public/browser/browser_thread.h"
109 #include "content/public/browser/child_process_data.h" 110 #include "content/public/browser/child_process_data.h"
110 #include "content/public/browser/download_item.h" 111 #include "content/public/browser/download_item.h"
111 #include "content/public/browser/download_manager.h" 112 #include "content/public/browser/download_manager.h"
112 #include "content/public/browser/gpu_data_manager.h" 113 #include "content/public/browser/gpu_data_manager.h"
113 #include "content/public/browser/interstitial_page.h" 114 #include "content/public/browser/interstitial_page.h"
114 #include "content/public/browser/notification_details.h" 115 #include "content/public/browser/notification_details.h"
115 #include "content/public/browser/notification_observer.h" 116 #include "content/public/browser/notification_observer.h"
(...skipping 3745 matching lines...) Expand 10 before | Expand all | Expand 10 after
3861 3862
3862 IN_PROC_BROWSER_TEST_F(HardwareAccelerationModePolicyTest, 3863 IN_PROC_BROWSER_TEST_F(HardwareAccelerationModePolicyTest,
3863 HardwareAccelerationDisabled) { 3864 HardwareAccelerationDisabled) {
3864 // Verifies that hardware acceleration can be disabled with policy. 3865 // Verifies that hardware acceleration can be disabled with policy.
3865 EXPECT_FALSE( 3866 EXPECT_FALSE(
3866 content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr)); 3867 content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr));
3867 } 3868 }
3868 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 3869 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
3869 3870
3870 } // namespace policy 3871 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698