Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / task_management / task_manager_observer.cc
blob907198b221f825ff41221ce55a3111a100c6b561
1 // Copyright 2015 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/task_management/task_manager_observer.h"
7 namespace task_management {
9 TaskManagerObserver::TaskManagerObserver(base::TimeDelta refresh_time,
10 int64 resources_flags)
11 : desired_refresh_time_(
12 refresh_time < base::TimeDelta::FromSeconds(1) ?
13 base::TimeDelta::FromSeconds(1) : refresh_time),
14 desired_resources_flags_(resources_flags) {
15 DCHECK(resources_flags != 0);
18 TaskManagerObserver::~TaskManagerObserver() {
21 } // namespace task_management