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

Side by Side Diff: chrome/browser/browser_process.h

Issue 228553002: Preference dis/allowing supervised users creation is now available as owner setting, not only as de… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test-specific logic added: check for BrowserPolicyConnector existence used. Created 6 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 | Annotate | Revision Log
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 // This interface is for managing the global services of the application. Each 5 // This interface is for managing the global services of the application. Each
6 // service is lazily created when requested the first time. The service getters 6 // service is lazily created when requested the first time. The service getters
7 // will return NULL if the service is not available, so callers must check for 7 // will return NULL if the service is not available, so callers must check for
8 // this condition. 8 // this condition.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // NOTE: If you want to post a task to the IO thread, use 129 // NOTE: If you want to post a task to the IO thread, use
130 // BrowserThread::PostTask (or other variants). 130 // BrowserThread::PostTask (or other variants).
131 virtual IOThread* io_thread() = 0; 131 virtual IOThread* io_thread() = 0;
132 132
133 // Returns the thread that is used for health check of all browser threads. 133 // Returns the thread that is used for health check of all browser threads.
134 virtual WatchDogThread* watchdog_thread() = 0; 134 virtual WatchDogThread* watchdog_thread() = 0;
135 135
136 // Starts and manages the policy system. 136 // Starts and manages the policy system.
137 virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0; 137 virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0;
138 138
139 // Returns true if policy system was already started.
140 virtual bool is_browser_policy_connector_created() = 0;
141
139 // This is the main interface for chromium components to retrieve policy 142 // This is the main interface for chromium components to retrieve policy
140 // information from the policy system. 143 // information from the policy system.
141 virtual policy::PolicyService* policy_service() = 0; 144 virtual policy::PolicyService* policy_service() = 0;
142 145
143 virtual IconManager* icon_manager() = 0; 146 virtual IconManager* icon_manager() = 0;
144 147
145 virtual GLStringManager* gl_string_manager() = 0; 148 virtual GLStringManager* gl_string_manager() = 0;
146 149
147 virtual GpuModeManager* gpu_mode_manager() = 0; 150 virtual GpuModeManager* gpu_mode_manager() = 0;
148 151
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; 222 virtual WebRtcLogUploader* webrtc_log_uploader() = 0;
220 #endif 223 #endif
221 224
222 private: 225 private:
223 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 226 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
224 }; 227 };
225 228
226 extern BrowserProcess* g_browser_process; 229 extern BrowserProcess* g_browser_process;
227 230
228 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 231 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | chrome/browser/chromeos/settings/device_settings_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698