| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "chrome/browser/extensions/app_icon_loader.h" | 16 #include "chrome/browser/extensions/app_icon_loader.h" |
| 17 #include "chrome/common/content_settings.h" | 17 #include "chrome/common/content_settings.h" |
| 18 #include "components/favicon_base/favicon_types.h" | 18 #include "components/favicon_base/favicon_types.h" |
| 19 #include "content/public/browser/notification_details.h" | 19 #include "content/public/browser/notification_details.h" |
| 20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
| 21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
| 22 #include "content/public/browser/notification_source.h" | 22 #include "content/public/browser/notification_source.h" |
| 23 #include "ui/message_center/notifier_settings.h" | 23 #include "ui/message_center/notifier_settings.h" |
| 24 | 24 |
| 25 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
| 26 #include "chrome/browser/chromeos/login/user_manager.h" | 26 #include "chrome/browser/chromeos/login/users/user_manager.h" |
| 27 #endif | 27 #endif |
| 28 | 28 |
| 29 class Profile; | 29 class Profile; |
| 30 class ProfileInfoCache; | 30 class ProfileInfoCache; |
| 31 | 31 |
| 32 namespace base { | 32 namespace base { |
| 33 class CancelableTaskTracker; | 33 class CancelableTaskTracker; |
| 34 } | 34 } |
| 35 | 35 |
| 36 namespace favicon_base { | 36 namespace favicon_base { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 content::NotificationRegistrar registrar_; | 124 content::NotificationRegistrar registrar_; |
| 125 | 125 |
| 126 ProfileInfoCache* profile_info_cache_; | 126 ProfileInfoCache* profile_info_cache_; |
| 127 | 127 |
| 128 base::WeakPtrFactory<MessageCenterSettingsController> weak_factory_; | 128 base::WeakPtrFactory<MessageCenterSettingsController> weak_factory_; |
| 129 | 129 |
| 130 DISALLOW_COPY_AND_ASSIGN(MessageCenterSettingsController); | 130 DISALLOW_COPY_AND_ASSIGN(MessageCenterSettingsController); |
| 131 }; | 131 }; |
| 132 | 132 |
| 133 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ | 133 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ |
| OLD | NEW |