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.
5 #include "chrome/browser/browser_process_platform_part_win.h"
7 #include "chrome/browser/active_use_util.h"
9 BrowserProcessPlatformPart::BrowserProcessPlatformPart() = default;
10 BrowserProcessPlatformPart::~BrowserProcessPlatformPart() = default;
12 void BrowserProcessPlatformPart::OnBrowserLaunch() {
13 if constexpr (kShouldRecordActiveUse) {
14 if (!did_run_updater_) {
15 did_run_updater_.emplace();