1 // Copyright 2017 The Chromium Authors. All rights reserved.
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"
8 #include "chrome/browser/google/did_run_updater_win.h"
10 BrowserProcessPlatformPart::BrowserProcessPlatformPart() = default;
11 BrowserProcessPlatformPart::~BrowserProcessPlatformPart() = default;
13 void BrowserProcessPlatformPart::PlatformSpecificCommandLineProcessing(
14 const base::CommandLine& command_line) {
15 if (!did_run_updater_ && ShouldRecordActiveUse(command_line))
16 did_run_updater_ = std::make_unique<DidRunUpdater>();