| Index: chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_navigation_util.h
|
| diff --git a/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_navigation_util.h b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_navigation_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..30d5a61c107c253864122b4585b9ae360e41379f
|
| --- /dev/null
|
| +++ b/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_navigation_util.h
|
| @@ -0,0 +1,25 @@
|
| +// 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.
|
| +
|
| +#ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_NAVIGATION_UTIL_H_
|
| +#define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_NAVIGATION_UTIL_H_
|
| +
|
| +#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();
|
| +
|
| +// Opens a new settings tab in |browser| with the given |disposition|.
|
| +// If |skip_if_already_open| is true and settings is the currently displayed
|
| +// tab, no new tab is opened.
|
| +void OpenSettingsPage(Browser* browser,
|
| + WindowOpenDisposition disposition,
|
| + bool skip_if_already_open);
|
| +
|
| +} // namespace chrome_cleaner_util
|
| +
|
| +#endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_CHROME_CLEANER_NAVIGATION_UTIL_H_
|
|
|