OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_BROWSER_PROCESS_IO_THREAD_H_ |
| 6 #define CONTENT_BROWSER_BROWSER_PROCESS_IO_THREAD_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" |
| 11 #include "content/browser/browser_process_sub_thread.h" |
| 12 #include "content/public/browser/io_thread_delegate.h" |
| 13 |
| 14 namespace content { |
| 15 |
| 16 class BrowserProcessIOThread : public BrowserProcessSubThread { |
| 17 public: |
| 18 BrowserProcessIOThread(IOThreadDelegate* delegate); |
| 19 virtual ~BrowserProcessIOThread(); |
| 20 |
| 21 virtual void Init() OVERRIDE; |
| 22 virtual void CleanUp() OVERRIDE; |
| 23 |
| 24 private: |
| 25 IOThreadDelegate* delegate_; |
| 26 DISALLOW_COPY_AND_ASSIGN(BrowserProcessIOThread); |
| 27 }; |
| 28 |
| 29 } // namespace content |
| 30 |
| 31 #endif // CONTENT_BROWSER_BROWSER_PROCESS_IO_THREAD_H_ |
OLD | NEW |