Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / profiles / profile_util.h
blobf7df0742100ef8be2e859786bafce5c66ef2cebb
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_
8 class Profile;
10 namespace chromeos {
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_