Index: chrome/browser/profiles/profile_info_cache_observer.h |
=================================================================== |
--- chrome/browser/profiles/profile_info_cache_observer.h (revision 0) |
+++ chrome/browser/profiles/profile_info_cache_observer.h (revision 0) |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
+#define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
+#pragma once |
+ |
+// This class provides an Observer interface to watch for changes to the |
+// ProfileInfoCache. |
+class ProfileInfoCacheObserver { |
+ public: |
+ ProfileInfoCacheObserver() {} |
grt (UTC plus 2)
2011/11/18 16:02:15
google style says ctor must be protected.
Miranda Callahan
2011/11/18 19:00:36
Done.
|
+ |
+ virtual void OnProfileAdded(string16 profile_name, |
grt (UTC plus 2)
2011/11/18 16:02:15
can these not be passed as const ref?
Miranda Callahan
2011/11/18 19:00:36
Done.
|
+ string16 profile_base_dir) = 0; |
+ virtual void OnProfileRemoved(string16 profile_name) = 0; |
+ virtual void OnProfileNameChanged(string16 old_profile_name, |
+ string16 new_profile_name) = 0; |
+ |
+ protected: |
+ virtual ~ProfileInfoCacheObserver() {} |
grt (UTC plus 2)
2011/11/18 16:02:15
this should be public unless you're really trying
Miranda Callahan
2011/11/18 19:00:36
Done.
|
+ |
+ DISALLOW_COPY_AND_ASSIGN(ProfileInfoCacheObserver); |
+}; |
+ |
+#endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
Property changes on: chrome\browser\profiles\profile_info_cache_observer.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |