1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_UTIL_H_
12 // Checks if the current log-in state and the profile is GAIA-authenticated and
13 // thus has access to Google services. This excludes, for example, public
14 // accounts, supervised users, guest or incognito profiles.
15 bool IsProfileAssociatedWithGaiaAccount(Profile
* profile
);
17 } // namespace chromeos
19 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_UTIL_H_