OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_APP_CONTROLLER_PROFILE_OBSERVER_H_ | |
6 #define CHROME_BROWSER_APP_CONTROLLER_PROFILE_OBSERVER_H_ | |
7 | |
8 #include "chrome/browser/profiles/profile_info_cache_observer.h" | |
9 #include "chrome/browser/profiles/profile_manager.h" | |
10 | |
11 class AppControllerProfileObserver : public ProfileInfoCacheObserver { | |
12 public: | |
13 AppControllerProfileObserver( | |
14 ProfileManager* profile_manager, id app_controller); | |
15 virtual ~AppControllerProfileObserver(); | |
16 | |
17 private: | |
18 ProfileManager* profile_manager_; | |
19 | |
20 id app_controller_; | |
21 | |
22 // Overridden from ProfileInfoCacheObserver: | |
23 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; | |
24 virtual void OnProfileWillBeRemoved( | |
25 const base::FilePath& profile_path) OVERRIDE; | |
26 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, | |
27 const string16& profile_name) OVERRIDE; | |
28 virtual void OnProfileNameChanged(const base::FilePath& profile_path, | |
29 const string16& old_profile_name) OVERRIDE; | |
30 virtual void OnProfileAvatarChanged( | |
31 const base::FilePath& profile_path) OVERRIDE; | |
32 }; | |
Roger Tawa OOO till Jul 10th
2013/05/07 20:54:15
I think you need DISALLOW_COPY_AND_ASSIGN() here.
noms (inactive)
2013/05/08 15:19:35
Done.
| |
33 | |
34 #endif // CHROME_BROWSER_APP_CONTROLLER_PROFILE_OBSERVER_H_ | |
OLD | NEW |