[M120 Migration]Fix for crash during chrome exit
[platform/framework/web/chromium-efl.git] / chrome / browser / browser_process_platform_part_win.cc
1 // Copyright 2017 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/browser_process_platform_part_win.h"
6
7 #include "chrome/browser/active_use_util.h"
8
9 BrowserProcessPlatformPart::BrowserProcessPlatformPart() = default;
10 BrowserProcessPlatformPart::~BrowserProcessPlatformPart() = default;
11
12 void BrowserProcessPlatformPart::OnBrowserLaunch() {
13   if constexpr (kShouldRecordActiveUse) {
14     if (!did_run_updater_) {
15       did_run_updater_.emplace();
16     }
17   }
18 }