Commit e77a1a5c authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

chromeos: Removes unnecessary code from ShellMainDelegate

BUG=none
TEST=none

Change-Id: I61ad7b7fb7656619be687ec28d25aff2a827b5b7
Reviewed-on: https://chromium-review.googlesource.com/1097573Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566506}
parent 726f693b
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "base/path_service.h" #include "base/path_service.h"
#include "components/services/font/font_service_app.h" #include "components/services/font/font_service_app.h"
#include "components/services/font/public/interfaces/constants.mojom.h" #include "components/services/font/public/interfaces/constants.mojom.h"
#include "content/public/common/content_switches.h"
#include "content/public/utility/content_utility_client.h" #include "content/public/utility/content_utility_client.h"
#include "services/service_manager/public/cpp/service.h" #include "services/service_manager/public/cpp/service.h"
#include "services/ui/ime/test_ime_driver/public/mojom/constants.mojom.h" #include "services/ui/ime/test_ime_driver/public/mojom/constants.mojom.h"
...@@ -94,13 +93,7 @@ ShellMainDelegate::ShellMainDelegate() = default; ...@@ -94,13 +93,7 @@ ShellMainDelegate::ShellMainDelegate() = default;
ShellMainDelegate::~ShellMainDelegate() = default; ShellMainDelegate::~ShellMainDelegate() = default;
bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
std::string process_type =
command_line.GetSwitchValueASCII(switches::kProcessType);
content::SetContentClient(&content_client_); content::SetContentClient(&content_client_);
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment