Index: chrome/browser/ui/views/ash/launcher/launcher_app_icon_loader.h |
diff --git a/chrome/browser/ui/views/ash/launcher/launcher_app_icon_loader.h b/chrome/browser/ui/views/ash/launcher/launcher_app_icon_loader.h |
deleted file mode 100644 |
index abede2552a8406ce5e76331c598d9b249e33ebbe..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/views/ash/launcher/launcher_app_icon_loader.h |
+++ /dev/null |
@@ -1,55 +0,0 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_APP_ICON_LOADER_H_ |
-#define CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_APP_ICON_LOADER_H_ |
- |
-#include <map> |
-#include <string> |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "chrome/browser/extensions/image_loading_tracker.h" |
-#include "chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h" |
- |
-class Profile; |
- |
-namespace extensions { |
-class Extension; |
-} |
- |
- |
-// Default implementation of LauncherUpdater::AppIconLoader that interacts |
-// with the ExtensionService and ImageLoadingTracker to load images. |
-class LauncherAppIconLoader : public ChromeLauncherController::AppIconLoader, |
- public ImageLoadingTracker::Observer { |
- public: |
- LauncherAppIconLoader(Profile* profile, ChromeLauncherController* host); |
- virtual ~LauncherAppIconLoader(); |
- |
- // AppIconLoader: |
- virtual void FetchImage(const std::string& id) OVERRIDE; |
- |
- // ImageLoadingTracker::Observer: |
- virtual void OnImageLoaded(const gfx::Image& image, |
- const std::string& extension_id, |
- int index) OVERRIDE; |
- |
- private: |
- typedef std::map<int, std::string> ImageLoaderIDToExtensionIDMap; |
- |
- Profile* profile_; |
- |
- // ChromeLauncherController we're associated with (and owned by). |
- ChromeLauncherController* host_; |
- |
- // Used to load images. |
- scoped_ptr<ImageLoadingTracker> image_loader_; |
- |
- // Maps from id from the ImageLoadingTracker to the extension id. |
- ImageLoaderIDToExtensionIDMap map_; |
- |
- DISALLOW_COPY_AND_ASSIGN(LauncherAppIconLoader); |
-}; |
- |
-#endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_LAUNCHER_APP_ICON_LOADER_H_ |