| 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_EXTENSIONS_IMAGE_LOADING_TRACKER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_IMAGE_LOADING_TRACKER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_IMAGE_LOADING_TRACKER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_IMAGE_LOADING_TRACKER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // This class is deprecated. This just lists all currently remaining | 130 // This class is deprecated. This just lists all currently remaining |
| 131 // usage of this class, so once this list is empty this class can and | 131 // usage of this class, so once this list is empty this class can and |
| 132 // should be removed. | 132 // should be removed. |
| 133 friend class CreateChromeApplicationShortcutsDialogGtk; | 133 friend class CreateChromeApplicationShortcutsDialogGtk; |
| 134 friend class CreateChromeApplicationShortcutView; | 134 friend class CreateChromeApplicationShortcutView; |
| 135 friend class ExtensionIconManager; | 135 friend class ExtensionIconManager; |
| 136 friend class ExtensionInfoBar; | 136 friend class ExtensionInfoBar; |
| 137 friend class ExtensionInfoBarGtk; | 137 friend class ExtensionInfoBarGtk; |
| 138 friend class ExtensionUninstallDialog; | 138 friend class ExtensionUninstallDialog; |
| 139 friend class InfobarBridge; | 139 friend class InfobarBridge; |
| 140 friend class Panel; | |
| 141 friend class ShellWindow; | 140 friend class ShellWindow; |
| 142 friend class extensions::IconImage; | 141 friend class extensions::IconImage; |
| 143 friend class extensions::TabHelper; | 142 friend class extensions::TabHelper; |
| 144 FRIEND_TEST_ALL_PREFIXES(ImageLoadingTrackerTest, Cache); | 143 FRIEND_TEST_ALL_PREFIXES(ImageLoadingTrackerTest, Cache); |
| 145 FRIEND_TEST_ALL_PREFIXES(ImageLoadingTrackerTest, | 144 FRIEND_TEST_ALL_PREFIXES(ImageLoadingTrackerTest, |
| 146 DeleteExtensionWhileWaitingForCache); | 145 DeleteExtensionWhileWaitingForCache); |
| 147 FRIEND_TEST_ALL_PREFIXES(ImageLoadingTrackerTest, MultipleImages); | 146 FRIEND_TEST_ALL_PREFIXES(ImageLoadingTrackerTest, MultipleImages); |
| 148 | 147 |
| 149 explicit ImageLoadingTracker(Observer* observer); | 148 explicit ImageLoadingTracker(Observer* observer); |
| 150 | 149 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // Information for each LoadImage request is cached here. The integer | 193 // Information for each LoadImage request is cached here. The integer |
| 195 // identifies the id assigned to the request. | 194 // identifies the id assigned to the request. |
| 196 LoadMap load_map_; | 195 LoadMap load_map_; |
| 197 | 196 |
| 198 content::NotificationRegistrar registrar_; | 197 content::NotificationRegistrar registrar_; |
| 199 | 198 |
| 200 DISALLOW_COPY_AND_ASSIGN(ImageLoadingTracker); | 199 DISALLOW_COPY_AND_ASSIGN(ImageLoadingTracker); |
| 201 }; | 200 }; |
| 202 | 201 |
| 203 #endif // CHROME_BROWSER_EXTENSIONS_IMAGE_LOADING_TRACKER_H_ | 202 #endif // CHROME_BROWSER_EXTENSIONS_IMAGE_LOADING_TRACKER_H_ |
| OLD | NEW |