| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 9 #include "ui/gfx/image/image.h" | 10 #include "ui/gfx/image/image.h" |
| 10 | 11 |
| 11 namespace base { | 12 namespace base { |
| 12 class FilePath; | 13 class FilePath; |
| 13 } | 14 } |
| 14 | 15 |
| 15 // This class provides an Observer interface to watch for changes to the | 16 // This class provides an Observer interface to watch for changes to the |
| 16 // ProfileInfoCache. | 17 // ProfileInfoCache. |
| 17 class ProfileInfoCacheObserver { | 18 class ProfileInfoCacheObserver { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 virtual void OnProfileIsOmittedChanged( | 36 virtual void OnProfileIsOmittedChanged( |
| 36 const base::FilePath& profile_path) {} | 37 const base::FilePath& profile_path) {} |
| 37 | 38 |
| 38 protected: | 39 protected: |
| 39 ProfileInfoCacheObserver() {} | 40 ProfileInfoCacheObserver() {} |
| 40 | 41 |
| 41 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCacheObserver); | 42 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCacheObserver); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ | 45 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
| OLD | NEW |