Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Side by Side Diff: content/browser/browser_process_io_thread.h

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698