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

Unified Diff: chrome/browser/chrome_browser_parts_gtk.cc

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: chrome/browser/chrome_browser_parts_gtk.cc
diff --git a/chrome/browser/chrome_browser_parts_gtk.cc b/chrome/browser/chrome_browser_parts_gtk.cc
index 3d1a5aaeab8e2ed80dfd093259c9efedbc532a83..b0c738bbdee110309e8524f3e99c260f9f3f8625 100644
--- a/chrome/browser/chrome_browser_parts_gtk.cc
+++ b/chrome/browser/chrome_browser_parts_gtk.cc
@@ -14,6 +14,8 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/gtk_util.h"
+using content::BrowserThread;
+
ChromeBrowserPartsGtk::ChromeBrowserPartsGtk()
: content::BrowserMainParts() {
}
@@ -25,16 +27,20 @@ void ChromeBrowserPartsGtk::PreEarlyInitialization() {
void ChromeBrowserPartsGtk::PostEarlyInitialization() {
}
-void ChromeBrowserPartsGtk::ToolkitInitialized() {
+void ChromeBrowserPartsGtk::PreMainMessageLoopStart() {
}
-void ChromeBrowserPartsGtk::PreMainMessageLoopStart() {
+void ChromeBrowserPartsGtk::ToolkitInitialized() {
}
void ChromeBrowserPartsGtk::PostMainMessageLoopStart() {
}
-void ChromeBrowserPartsGtk::PreMainMessageLoopRun() {
+content::IOThreadDelegate* ChromeBrowserPartsGtk::PreMainMessageLoopRun() {
+ return NULL;
+}
+
+void ChromeBrowserPartsGtk::PreMainMessageLoopRunThreadsCreated() {
}
bool ChromeBrowserPartsGtk::MainMessageLoopRun(int* result_code) {
@@ -44,6 +50,15 @@ bool ChromeBrowserPartsGtk::MainMessageLoopRun(int* result_code) {
void ChromeBrowserPartsGtk::PostMainMessageLoopRun() {
}
+void ChromeBrowserPartsGtk::PreStopThread(BrowserThread::ID) {
+}
+
+void ChromeBrowserPartsGtk::PostStopThread(BrowserThread::ID) {
+}
+
+void ChromeBrowserPartsGtk::FinalCleanup() {
+}
+
void ChromeBrowserPartsGtk::DetectRunningAsRoot() {
if (geteuid() == 0) {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();

Powered by Google App Engine
This is Rietveld 408576698