| OLD | NEW |
| 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 // 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_ |
| 11 #define CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 11 #define CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| 12 #pragma once | 12 #pragma once |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 17 #include "base/debug/stack_trace.h" |
| 17 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/message_loop.h" | 19 #include "base/message_loop.h" |
| 19 #include "base/threading/non_thread_safe.h" | 20 #include "base/threading/non_thread_safe.h" |
| 20 #include "base/timer.h" | 21 #include "base/timer.h" |
| 21 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
| 22 #include "chrome/browser/prefs/pref_change_registrar.h" | 23 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 23 #include "chrome/browser/prefs/pref_member.h" | 24 #include "chrome/browser/prefs/pref_member.h" |
| 24 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
| 25 #include "content/public/browser/notification_observer.h" | 26 #include "content/public/browser/notification_observer.h" |
| 26 #include "content/public/browser/notification_registrar.h" | 27 #include "content/public/browser/notification_registrar.h" |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 266 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 266 | 267 |
| 267 #if !defined(OS_CHROMEOS) | 268 #if !defined(OS_CHROMEOS) |
| 268 scoped_ptr<ComponentUpdateService> component_updater_; | 269 scoped_ptr<ComponentUpdateService> component_updater_; |
| 269 | 270 |
| 270 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 271 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
| 271 #endif | 272 #endif |
| 272 | 273 |
| 273 scoped_refptr<AudioManager> audio_manager_; | 274 scoped_refptr<AudioManager> audio_manager_; |
| 274 | 275 |
| 276 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 277 // the callstack which released the final module reference count. |
| 278 base::debug::StackTrace release_last_reference_callstack_; |
| 279 |
| 275 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 280 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 276 }; | 281 }; |
| 277 | 282 |
| 278 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 283 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |