Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: chrome/browser/extensions/extension_app_icon_loader.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_EXTENSION_APP_ICON_LOADER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_LOADER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_LOADER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_LOADER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "chrome/browser/ui/app_icon_loader.h" 13 #include "chrome/browser/ui/app_icon_loader.h"
14 #include "extensions/browser/extension_icon_image.h" 14 #include "extensions/browser/extension_icon_image.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 namespace extensions { 18 namespace extensions {
19 class Extension;
20 19
21 // Implementation of AppIconLoader that interacts with the ExtensionService and 20 // Implementation of AppIconLoader that interacts with the ExtensionService and
22 // ImageLoader to load images. 21 // ImageLoader to load images.
23 class ExtensionAppIconLoader : public AppIconLoader, 22 class ExtensionAppIconLoader : public AppIconLoader,
24 public extensions::IconImage::Observer { 23 public extensions::IconImage::Observer {
25 public: 24 public:
26 ExtensionAppIconLoader(Profile* profile, int icon_size, 25 ExtensionAppIconLoader(Profile* profile, int icon_size,
27 AppIconLoaderDelegate* delegate); 26 AppIconLoaderDelegate* delegate);
28 ~ExtensionAppIconLoader() override; 27 ~ExtensionAppIconLoader() override;
29 28
(...skipping 15 matching lines...) Expand all
45 44
46 // Maps from extension id to IconImage pointer. 45 // Maps from extension id to IconImage pointer.
47 ExtensionIDToImageMap map_; 46 ExtensionIDToImageMap map_;
48 47
49 DISALLOW_COPY_AND_ASSIGN(ExtensionAppIconLoader); 48 DISALLOW_COPY_AND_ASSIGN(ExtensionAppIconLoader);
50 }; 49 };
51 50
52 } // namespace extensions 51 } // namespace extensions
53 52
54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_LOADER_H_ 53 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_APP_ICON_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_action_icon_factory.h ('k') | chrome/browser/extensions/extension_context_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698