blob: 2fc7db7006ad6f424864cedf69740f782fd8a67d [file] [log] [blame]
// Copyright 2018 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_UI_MANAGED_UI_H_
#define CHROME_BROWSER_UI_MANAGED_UI_H_
#include "base/strings/string16.h"
class Profile;
namespace chrome {
// Returns true if a 'Managed by your organization' message should appear in
// Chrome's App Menu, and on the following chrome:// pages:
// - chrome://bookmarks
// - chrome://downloads
// - chrome://extensions
// - chrome://history
// - chrome://settings
//
// N.B.: This is independent of Chrome OS's system tray message for enterprise
// users.
bool ShouldDisplayManagedUi(Profile* profile);
// The label for the App Menu item for Managed UI.
base::string16 GetManagedUiMenuItemLabel(Profile* profile);
// The label for the WebUI footnote for Managed UI. These strings contain HTML
// for an <a> element.
base::string16 GetManagedUiWebUILabel(Profile* profile);
} // namespace chrome
#endif // CHROME_BROWSER_UI_MANAGED_UI_H_