Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / chromeos / profiles / profile_util.h
blobe6270b02dc4e0c896cdb8e23a6853a1e8db563d6
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, locally managed users, guest or incognito profiles.
15 bool IsProfileAssociatedWithGaiaAccount(Profile* profile);
17 } // namespace chromeos
19 #endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_UTIL_H_