Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / profiles / profile_info_cache_observer.h
blob09573e5e51d209f9f5b8d05435a1dfa0c34fa77d
1 // Copyright (c) 2012 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_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_
8 #include "base/strings/string16.h"
9 #include "ui/gfx/image/image.h"
11 namespace base {
12 class FilePath;
15 // This class provides an Observer interface to watch for changes to the
16 // ProfileInfoCache.
17 class ProfileInfoCacheObserver {
18 public:
19 virtual ~ProfileInfoCacheObserver() {}
21 virtual void OnProfileAdded(const base::FilePath& profile_path) {}
22 virtual void OnProfileWillBeRemoved(const base::FilePath& profile_path) {}
23 virtual void OnProfileWasRemoved(const base::FilePath& profile_path,
24 const base::string16& profile_name) {}
25 virtual void OnProfileNameChanged(const base::FilePath& profile_path,
26 const base::string16& old_profile_name) {}
27 virtual void OnProfileAuthInfoChanged(const base::FilePath& profile_path) {}
28 virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) {}
29 virtual void OnProfileHighResAvatarLoaded(
30 const base::FilePath& profile_path) {}
31 virtual void OnProfileSigninRequiredChanged(
32 const base::FilePath& profile_path) {}
33 virtual void OnProfileSupervisedUserIdChanged(
34 const base::FilePath& profile_path) {}
35 virtual void OnProfileIsOmittedChanged(
36 const base::FilePath& profile_path) {}
38 protected:
39 ProfileInfoCacheObserver() {}
41 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCacheObserver);
44 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_