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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2208613002: Remove MOJO_SHELL_CLIENT define. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot merge Created 4 years, 4 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index c7e82fed41a5b7766de40d395aea095ba96e6c8c..d1a7a6e3866a7442a68adb0d2c8ef6b4d0b92f2d 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -268,7 +268,7 @@
#include "chrome/browser/usb/web_usb_detector.h"
#endif
-#if defined(MOJO_SHELL_CLIENT)
+#if defined(USE_AURA)
#include "chrome/browser/lifetime/application_lifetime.h"
#include "content/public/common/mojo_shell_connection.h"
#include "services/shell/runner/common/client_util.h"
@@ -1224,7 +1224,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
}
void ChromeBrowserMainParts::PreMainMessageLoopRun() {
-#if defined(MOJO_SHELL_CLIENT)
+#if defined(USE_AURA)
if (content::MojoShellConnection::GetForProcess() && shell::ShellIsRemote()) {
content::MojoShellConnection::GetForProcess()->SetConnectionLostClosure(
base::Bind(&chrome::SessionEnding));
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698