diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/fuchsia/runners/web/main.cc | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/fuchsia/runners/web/main.cc')
-rw-r--r-- | chromium/fuchsia/runners/web/main.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chromium/fuchsia/runners/web/main.cc b/chromium/fuchsia/runners/web/main.cc index 719419d8350..267fe44de47 100644 --- a/chromium/fuchsia/runners/web/main.cc +++ b/chromium/fuchsia/runners/web/main.cc @@ -5,14 +5,15 @@ #include <lib/sys/cpp/component_context.h> #include "base/command_line.h" -#include "base/fuchsia/default_context.h" #include "base/fuchsia/file_utils.h" +#include "base/fuchsia/process_context.h" #include "base/fuchsia/scoped_service_binding.h" #include "base/message_loop/message_pump_type.h" #include "base/run_loop.h" #include "base/task/single_thread_task_executor.h" #include "fuchsia/base/fuchsia_dir_scheme.h" #include "fuchsia/base/init_logging.h" +#include "fuchsia/base/inspect.h" #include "fuchsia/runners/buildflags.h" #include "fuchsia/runners/common/web_content_runner.h" @@ -60,12 +61,12 @@ int main(int argc, char** argv) { WebContentRunner runner(std::move(get_context_params_callback)); base::fuchsia::ScopedServiceBinding<fuchsia::sys::Runner> binding( - base::fuchsia::ComponentContextForCurrentProcess()->outgoing().get(), - &runner); + base::ComponentContextForProcess()->outgoing().get(), &runner); - base::fuchsia::ComponentContextForCurrentProcess() - ->outgoing() - ->ServeFromStartupInfo(); + base::ComponentContextForProcess()->outgoing()->ServeFromStartupInfo(); + + // Publish version information for this component to Inspect. + cr_fuchsia::PublishVersionInfoToInspect(base::ComponentInspectorForProcess()); // Run until there are no Components, or the last service client channel is // closed. |