blob: 7ba99ac544f1a9bb8b7b644c1c3a0e6ba2bf41db [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 IOS_CHROME_BROWSER_TABS_TAB_TITLE_UTIL_H_
#define IOS_CHROME_BROWSER_TABS_TAB_TITLE_UTIL_H_
@class NSString;
namespace web {
class WebState;
}
// Utility functions needed by webState users to get information about Tab.
namespace tab_util {
// Get the tab title based on the |web_state|.
// |web_state| can't be null.
NSString* GetTabTitle(web::WebState* web_state);
} // namespace tab_util
#endif // IOS_CHROME_BROWSER_TABS_TAB_TITLE_UTIL_H_