OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual GoogleURLTracker* google_url_tracker(); | 67 virtual GoogleURLTracker* google_url_tracker(); |
68 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 68 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
69 virtual const std::string& GetApplicationLocale(); | 69 virtual const std::string& GetApplicationLocale(); |
70 virtual void SetApplicationLocale(const std::string& locale); | 70 virtual void SetApplicationLocale(const std::string& locale); |
71 virtual DownloadStatusUpdater* download_status_updater(); | 71 virtual DownloadStatusUpdater* download_status_updater(); |
72 virtual base::WaitableEvent* shutdown_event(); | 72 virtual base::WaitableEvent* shutdown_event(); |
73 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 73 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
74 virtual void CheckForInspectorFiles(); | 74 virtual void CheckForInspectorFiles(); |
75 | 75 |
76 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 76 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
77 void StartAutoupdateTimer(); | 77 virtual void StartAutoupdateTimer(); |
78 #endif | 78 #endif |
79 | 79 |
80 virtual bool have_inspector_files() const; | 80 virtual bool have_inspector_files() const; |
81 | 81 |
82 #if defined(IPC_MESSAGE_LOG_ENABLED) | 82 #if defined(IPC_MESSAGE_LOG_ENABLED) |
83 virtual void SetIPCLoggingEnabled(bool enable); | 83 virtual void SetIPCLoggingEnabled(bool enable); |
84 #endif | 84 #endif |
85 | 85 |
86 private: | 86 private: |
87 void ClearLocalState(const FilePath& profile_path); | 87 void ClearLocalState(const FilePath& profile_path); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 // restarted, and if that's the case, restarts the browser. | 222 // restarted, and if that's the case, restarts the browser. |
223 void OnAutoupdateTimer(); | 223 void OnAutoupdateTimer(); |
224 bool CanAutorestartForUpdate() const; | 224 bool CanAutorestartForUpdate() const; |
225 void RestartPersistentInstance(); | 225 void RestartPersistentInstance(); |
226 #endif // defined(OS_WIN) || defined(OS_LINUX) | 226 #endif // defined(OS_WIN) || defined(OS_LINUX) |
227 | 227 |
228 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 228 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
229 }; | 229 }; |
230 | 230 |
231 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 231 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |