| 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_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ | 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ |
| 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ | 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 13 #include "chrome/common/extensions/extension.h" | |
| 14 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
| 15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
| 15 #include "extensions/common/extension.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 namespace gfx { | 19 namespace gfx { |
| 20 class ImageSkia; | 20 class ImageSkia; |
| 21 } | 21 } |
| 22 | 22 |
| 23 // Model for list of Background Applications associated with a Profile (i.e. | 23 // Model for list of Background Applications associated with a Profile (i.e. |
| 24 // extensions with kBackgroundPermission set, or hosted apps with a | 24 // extensions with kBackgroundPermission set, or hosted apps with a |
| 25 // BackgroundContents). | 25 // BackgroundContents). |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 ApplicationMap applications_; | 149 ApplicationMap applications_; |
| 150 extensions::ExtensionList extensions_; | 150 extensions::ExtensionList extensions_; |
| 151 ObserverList<Observer> observers_; | 151 ObserverList<Observer> observers_; |
| 152 Profile* profile_; | 152 Profile* profile_; |
| 153 content::NotificationRegistrar registrar_; | 153 content::NotificationRegistrar registrar_; |
| 154 | 154 |
| 155 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel); | 155 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ | 158 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ |
| OLD | NEW |