blob: fed49e6c5d437dfcecd7f5934935013ef66db5b3 [file] [log] [blame]
Greg Thompson85bd488c2017-06-08 09:18:111// 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.
4
5#include "chrome/browser/browser_process_platform_part_win.h"
6
Greg Thompson85bd488c2017-06-08 09:18:117#include "chrome/browser/active_use_util.h"
8#include "chrome/browser/google/did_run_updater_win.h"
9
10BrowserProcessPlatformPart::BrowserProcessPlatformPart() = default;
11BrowserProcessPlatformPart::~BrowserProcessPlatformPart() = default;
12
13void BrowserProcessPlatformPart::PlatformSpecificCommandLineProcessing(
14 const base::CommandLine& command_line) {
15 if (!did_run_updater_ && ShouldRecordActiveUse(command_line))
Jeremy Romanec48d7a2018-03-01 17:35:0916 did_run_updater_ = std::make_unique<DidRunUpdater>();
Greg Thompson85bd488c2017-06-08 09:18:1117}