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

Unified Diff: content/shell/shell_browser_main.cc

Issue 8302016: Make GTK and Aura parts orthogonal to OS parts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 months 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/shell/shell_browser_main.cc
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
index ae3b0c1ac8f0f4be63f91520752f3b0ab0fe505a..6d5a32beef83afb4d0b48bd19d3ad777736b38f1 100644
--- a/content/shell/shell_browser_main.cc
+++ b/content/shell/shell_browser_main.cc
@@ -21,7 +21,7 @@ namespace content {
ShellBrowserMainParts::ShellBrowserMainParts(
const MainFunctionParams& parameters)
- : BrowserMainParts(parameters) {
+ : BrowserMainParts() {
ShellContentBrowserClient* shell_browser_client =
static_cast<ShellContentBrowserClient*>(
content::GetContentClient()->browser());
@@ -47,7 +47,7 @@ ShellBrowserMainParts::~ShellBrowserMainParts() {
db_thread_.reset();
}
-void ShellBrowserMainParts::PreMainMessageLoopRun() {
+int ShellBrowserMainParts::PreMainMessageLoopRun() {
db_thread_.reset(new BrowserProcessSubThread(BrowserThread::DB));
db_thread_->Start();
file_thread_.reset(new BrowserProcessSubThread(BrowserThread::FILE));
@@ -74,6 +74,8 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
NULL,
MSG_ROUTING_NONE,
NULL);
+
+ return content::RESULT_CODE_NORMAL_EXIT;
}
ResourceDispatcherHost* ShellBrowserMainParts::GetResourceDispatcherHost() {

Powered by Google App Engine
This is Rietveld 408576698