Index: chrome/browser/app_controller_profile_observer.h |
diff --git a/chrome/browser/app_controller_profile_observer.h b/chrome/browser/app_controller_profile_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3d72a87a487a604981d388729b992cb1ebf7405 |
--- /dev/null |
+++ b/chrome/browser/app_controller_profile_observer.h |
@@ -0,0 +1,34 @@ |
+// Copyright (c) 2012 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_APP_CONTROLLER_PROFILE_OBSERVER_H_ |
+#define CHROME_BROWSER_APP_CONTROLLER_PROFILE_OBSERVER_H_ |
+ |
+#include "chrome/browser/profiles/profile_info_cache_observer.h" |
+#include "chrome/browser/profiles/profile_manager.h" |
+ |
+class AppControllerProfileObserver : public ProfileInfoCacheObserver { |
+ public: |
+ AppControllerProfileObserver( |
+ ProfileManager* profile_manager, id app_controller); |
+ virtual ~AppControllerProfileObserver(); |
+ |
+ private: |
+ ProfileManager* profile_manager_; |
+ |
+ id app_controller_; |
+ |
+ // Overridden from ProfileInfoCacheObserver: |
+ virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; |
+ virtual void OnProfileWillBeRemoved( |
+ const base::FilePath& profile_path) OVERRIDE; |
+ virtual void OnProfileWasRemoved(const base::FilePath& profile_path, |
+ const string16& profile_name) OVERRIDE; |
+ virtual void OnProfileNameChanged(const base::FilePath& profile_path, |
+ const string16& old_profile_name) OVERRIDE; |
+ virtual void OnProfileAvatarChanged( |
+ const base::FilePath& profile_path) OVERRIDE; |
+}; |
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.
|
+ |
+#endif // CHROME_BROWSER_APP_CONTROLLER_PROFILE_OBSERVER_H_ |