summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/app_icon_loader_delegate.h
blob: e8f4bdbb73b2ac842e472320ed1cd04087b94038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2016 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_APP_ICON_LOADER_DELEGATE_H_
#define CHROME_BROWSER_UI_APP_ICON_LOADER_DELEGATE_H_

#include <string>

namespace gfx {
class ImageSkia;
}

class AppIconLoaderDelegate {
 public:
  // Called when the image for an app is loaded.
  virtual void OnAppImageUpdated(const std::string& app_id,
                                 const gfx::ImageSkia& image) = 0;

 protected:
  virtual ~AppIconLoaderDelegate() = default;
};

#endif  // CHROME_BROWSER_UI_APP_ICON_LOADER_DELEGATE_H_