| OLD | NEW |
| 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_ |
| 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/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/message_loop.h" | 18 #include "base/message_loop.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "base/timer.h" | 20 #include "base/timer.h" |
| 21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
| 22 #include "chrome/browser/download/download_status_updater.h" | 22 #include "chrome/browser/download/download_status_updater.h" |
| 23 #include "chrome/browser/prefs/pref_change_registrar.h" | 23 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 24 #include "chrome/browser/prefs/pref_member.h" | 24 #include "chrome/browser/prefs/pref_member.h" |
| 25 #include "chrome/browser/tab_contents/thumbnail_generator.h" | 25 #include "chrome/browser/tab_contents/thumbnail_generator.h" |
| 26 #include "content/common/notification_observer.h" | 26 #include "content/common/notification_observer.h" |
| 27 #include "content/common/notification_registrar.h" | 27 #include "content/common/notification_registrar.h" |
| 28 #include "ipc/ipc_message.h" | 28 #include "ipc/ipc_message.h" |
| 29 | 29 |
| 30 class BrowserOnlineStateObserver; |
| 30 class ChromeNetLog; | 31 class ChromeNetLog; |
| 31 class ChromeResourceDispatcherHostDelegate; | 32 class ChromeResourceDispatcherHostDelegate; |
| 32 class CommandLine; | 33 class CommandLine; |
| 33 class DevToolsHttpProtocolHandler; | 34 class DevToolsHttpProtocolHandler; |
| 34 class DevToolsProtocolHandler; | 35 class DevToolsProtocolHandler; |
| 35 class FilePath; | 36 class FilePath; |
| 36 class NotificationService; | 37 class NotificationService; |
| 37 class PluginDataRemover; | 38 class PluginDataRemover; |
| 38 class TabCloseableStateWatcher; | 39 class TabCloseableStateWatcher; |
| 39 | 40 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 void OnAutoupdateTimer(); | 311 void OnAutoupdateTimer(); |
| 311 bool CanAutorestartForUpdate() const; | 312 bool CanAutorestartForUpdate() const; |
| 312 void RestartPersistentInstance(); | 313 void RestartPersistentInstance(); |
| 313 #endif // defined(OS_WIN) || defined(OS_LINUX) | 314 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 314 | 315 |
| 315 #if defined(OS_CHROMEOS) | 316 #if defined(OS_CHROMEOS) |
| 316 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 317 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
| 317 chromeos_proxy_config_service_impl_; | 318 chromeos_proxy_config_service_impl_; |
| 318 #endif | 319 #endif |
| 319 | 320 |
| 321 // Per-process listener for online state changes. |
| 322 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 323 |
| 320 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 324 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 321 }; | 325 }; |
| 322 | 326 |
| 323 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 327 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |