blob: df5623149940817247c328b1a24c087fb57ef6d4 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/browser.h"
namespace chrome_cleaner_util {
// Returns the last active tabbed browser or NULL if no such browser currently
// exists.
Browser* FindBrowser();
// Returns true if the page with Cleaner UI is the currently active tab.
bool CleanupPageIsActiveTab(Browser* browser);
// Opens a new settings tab containing Cleaner UI card.
void OpenCleanupPage(Browser* browser, WindowOpenDisposition disposition);
} // namespace chrome_cleaner_util