blob: eb3cdda720a0ce4de194facbe9c863faa81ce1bb [file] [log] [blame]
// Copyright 2020 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 WEBLAYER_PUBLIC_URL_BAR_CONTROLLER_H_
#define WEBLAYER_PUBLIC_URL_BAR_CONTROLLER_H_
#include "base/strings/string16.h"
#include "components/security_state/core/security_state.h"
namespace weblayer {
class Browser;
class UrlBarController {
public:
static std::unique_ptr<UrlBarController> Create(Browser* browser);
virtual ~UrlBarController() {}
virtual base::string16 GetUrlForDisplay() = 0;
virtual security_state::SecurityLevel GetConnectionSecurityLevel() = 0;
};
} // namespace weblayer
#endif // WEBLAYER_PUBLIC_URL_BAR_CONTROLLER_H_