#include "chrome/browser/ui/profiles/profile_view_utils.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_attributes_entry.h"
#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/sync/sync_ui_util.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/toolbar/app_menu_model.h"
#include "chrome/common/url_constants.h"
#include "components/signin/public/base/consent_level.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "net/base/url_util.h"
#include "ui/base/accelerators/menu_label_accelerator_util.h"
#include "ui/base/window_open_disposition.h"
#include "ui/gfx/text_elider.h"
#include "url/gurl.h"
void NavigateToGoogleAccountPage(Profile* profile, const std::string& email) { … }
bool IsSyncPaused(Profile* profile) { … }
bool HasUnconstentedProfile(Profile* profile) { … }
int CountBrowsersFor(Profile* profile) { … }
AccountInfo GetAccountInfoFromProfile(const Profile* profile) { … }
ProfileAttributesEntry* GetProfileAttributesFromProfile(
const Profile* profile) { … }
std::u16string GetProfileMenuDisplayName(
ProfileAttributesEntry* profile_attributes) { … }
std::vector<ProfileAttributesEntry*> GetAllOtherProfileEntriesForProfileSubMenu(
const Profile* current_profile) { … }
bool IsOtherProfileCommand(int command_id) { … }