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

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

Issue 8409004: Force-setting default browser through policy should not crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void CreateTabCloseableStateWatcher(); 163 void CreateTabCloseableStateWatcher();
164 void CreatePrintPreviewTabController(); 164 void CreatePrintPreviewTabController();
165 void CreateBackgroundPrintingManager(); 165 void CreateBackgroundPrintingManager();
166 void CreateSafeBrowsingService(); 166 void CreateSafeBrowsingService();
167 void CreateSafeBrowsingDetectionService(); 167 void CreateSafeBrowsingDetectionService();
168 void CreateStatusTray(); 168 void CreateStatusTray();
169 void CreateBackgroundModeManager(); 169 void CreateBackgroundModeManager();
170 170
171 void ApplyDisabledSchemesPolicy(); 171 void ApplyDisabledSchemesPolicy();
172 void ApplyAllowCrossOriginAuthPromptPolicy(); 172 void ApplyAllowCrossOriginAuthPromptPolicy();
173 void ApplyDefaultBrowserPolicy();
173 174
174 #if defined(IPC_MESSAGE_LOG_ENABLED) 175 #if defined(IPC_MESSAGE_LOG_ENABLED)
175 void SetIPCLoggingEnabledForChildProcesses(bool enabled); 176 void SetIPCLoggingEnabledForChildProcesses(bool enabled);
176 #endif 177 #endif
177 178
178 bool created_resource_dispatcher_host_; 179 bool created_resource_dispatcher_host_;
179 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; 180 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_;
180 181
181 bool created_metrics_service_; 182 bool created_metrics_service_;
182 scoped_ptr<MetricsService> metrics_service_; 183 scoped_ptr<MetricsService> metrics_service_;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 #if !defined(OS_CHROMEOS) 322 #if !defined(OS_CHROMEOS)
322 scoped_ptr<ComponentUpdateService> component_updater_; 323 scoped_ptr<ComponentUpdateService> component_updater_;
323 324
324 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 325 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
325 #endif 326 #endif
326 327
327 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 328 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
328 }; 329 };
329 330
330 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 331 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698