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

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

Issue 334053003: Moves extension_icon_image and image_loader to extensions/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include fail Created 6 years, 6 months 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 | Annotate | Revision Log
OLDNEW
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_EXTENSIONS_APP_ICON_LOADER_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_ICON_LOADER_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_APP_ICON_LOADER_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_APP_ICON_LOADER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/extensions/app_icon_loader.h" 11 #include "chrome/browser/extensions/app_icon_loader.h"
12 #include "chrome/browser/extensions/extension_icon_image.h" 12 #include "extensions/browser/extension_icon_image.h"
13 13
14 class Profile; 14 class Profile;
15 15
16 namespace extensions { 16 namespace extensions {
17 class Extension; 17 class Extension;
18 18
19 // Default implementation of ash::AppIconLoader that interacts with the 19 // Default implementation of ash::AppIconLoader that interacts with the
20 // ExtensionService and ImageLoader to load images. 20 // ExtensionService and ImageLoader to load images.
21 class AppIconLoaderImpl : public AppIconLoader, 21 class AppIconLoaderImpl : public AppIconLoader,
22 public extensions::IconImage::Observer { 22 public extensions::IconImage::Observer {
(...skipping 26 matching lines...) Expand all
49 ImageToExtensionIDMap map_; 49 ImageToExtensionIDMap map_;
50 50
51 const int icon_size_; 51 const int icon_size_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(AppIconLoaderImpl); 53 DISALLOW_COPY_AND_ASSIGN(AppIconLoaderImpl);
54 }; 54 };
55 55
56 } // namespace extensions 56 } // namespace extensions
57 57
58 #endif // CHROME_BROWSER_EXTENSIONS_APP_ICON_LOADER_IMPL_H_ 58 #endif // CHROME_BROWSER_EXTENSIONS_APP_ICON_LOADER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698