chromium/ios/chrome/browser/shared/coordinator/layout_guide/layout_guide_util.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_SHARED_COORDINATOR_LAYOUT_GUIDE_LAYOUT_GUIDE_UTIL_H_
#define IOS_CHROME_BROWSER_SHARED_COORDINATOR_LAYOUT_GUIDE_LAYOUT_GUIDE_UTIL_H_

class Browser;
@class LayoutGuideCenter;

// Returns the layout guide center assigned to the given `browser`. If there is
// none, it returns a global shared layout guide center.
LayoutGuideCenter* LayoutGuideCenterForBrowser(Browser* browser);

#endif  // IOS_CHROME_BROWSER_SHARED_COORDINATOR_LAYOUT_GUIDE_LAYOUT_GUIDE_UTIL_H_