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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_process_io_thread.h
diff --git a/content/browser/browser_process_io_thread.h b/content/browser/browser_process_io_thread.h
new file mode 100644
index 0000000000000000000000000000000000000000..ef7cb78ea2da2e0776f604f68543f51c6dadee74
--- /dev/null
+++ b/content/browser/browser_process_io_thread.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_BROWSER_PROCESS_IO_THREAD_H_
+#define CONTENT_BROWSER_BROWSER_PROCESS_IO_THREAD_H_
+#pragma once
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "content/browser/browser_process_sub_thread.h"
+#include "content/public/browser/io_thread_delegate.h"
+
+namespace content {
+
+class BrowserProcessIOThread : public BrowserProcessSubThread {
+ public:
+ BrowserProcessIOThread(IOThreadDelegate* delegate);
+ virtual ~BrowserProcessIOThread();
+
+ virtual void Init() OVERRIDE;
+ virtual void CleanUp() OVERRIDE;
+
+ private:
+ IOThreadDelegate* delegate_;
+ DISALLOW_COPY_AND_ASSIGN(BrowserProcessIOThread);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_BROWSER_PROCESS_IO_THREAD_H_

Powered by Google App Engine
This is Rietveld 408576698