#include "chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/search/search.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/signin/chrome_signin_client_factory.h"
#include "chrome/browser/signin/chrome_signin_client_test_util.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "chrome/test/base/search_test_utils.h"
#include "chrome/test/base/testing_profile.h"
#include "components/search_engines/template_url_service.h"
class TestChromeLocationBarModelDelegate
: public ChromeLocationBarModelDelegate { … };
class ChromeLocationBarModelDelegateTest : public BrowserWithTestWindowTest { … };
TEST_F(ChromeLocationBarModelDelegateTest, IsNewTabPage) { … }
TEST_F(ChromeLocationBarModelDelegateTest, CertErrorPreventsElision) { … }