| 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 #ifndef CHROME_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ |
| 6 #define CHROME_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ | 6 #define CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "content/browser/browser_thread.h" | 10 #include "content/browser/browser_thread.h" |
| 11 | 11 |
| 12 class NotificationService; | 12 class NotificationService; |
| 13 | 13 |
| 14 // ---------------------------------------------------------------------------- | 14 // ---------------------------------------------------------------------------- |
| 15 // BrowserProcessSubThread | 15 // BrowserProcessSubThread |
| 16 // | 16 // |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 // Each specialized thread has its own notification service. | 33 // Each specialized thread has its own notification service. |
| 34 // Note: We don't use scoped_ptr because the destructor runs on the wrong | 34 // Note: We don't use scoped_ptr because the destructor runs on the wrong |
| 35 // thread. | 35 // thread. |
| 36 NotificationService* notification_service_; | 36 NotificationService* notification_service_; |
| 37 | 37 |
| 38 DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread); | 38 DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ | 41 #endif // CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ |
| OLD | NEW |