blob: 8c3fd1992f42c7913b3c5969ea9373efeded8d00 [file] [log] [blame]
// Copyright 2019 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_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_PERMISSIONS_UTIL_H_
#define CHROME_BROWSER_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_PERMISSIONS_UTIL_H_
class Profile;
// Returns true if the user, as represented by |profile| is permitted to make
// calls to the remote Optimization Guide Service.
bool IsUserPermittedToFetchFromRemoteOptimizationGuide(Profile* profile);
#endif // CHROME_BROWSER_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_PERMISSIONS_UTIL_H_