| Index: content/public/browser/manifest_icon_downloader.h
|
| diff --git a/chrome/browser/manifest/manifest_icon_downloader.h b/content/public/browser/manifest_icon_downloader.h
|
| similarity index 90%
|
| rename from chrome/browser/manifest/manifest_icon_downloader.h
|
| rename to content/public/browser/manifest_icon_downloader.h
|
| index d1ed7de9716dce46197d3e576247d438081db9cb..5731e96f8854c9e5ea3cc646fa26737dc292c053 100644
|
| --- a/chrome/browser/manifest/manifest_icon_downloader.h
|
| +++ b/content/public/browser/manifest_icon_downloader.h
|
| @@ -2,25 +2,25 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_
|
| -#define CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_
|
| +#ifndef CONTENT_PUBLIC_BROWSER_MANIFEST_ICON_DOWNLOADER_H_
|
| +#define CONTENT_PUBLIC_BROWSER_MANIFEST_ICON_DOWNLOADER_H_
|
|
|
| #include <vector>
|
|
|
| #include "base/callback_forward.h"
|
| #include "base/macros.h"
|
| +#include "content/common/content_export.h"
|
|
|
| +class GURL;
|
| class SkBitmap;
|
|
|
| -namespace content {
|
| -class WebContents;
|
| -} // namespace content
|
| -
|
| namespace gfx {
|
| class Size;
|
| } // namespace gfx
|
|
|
| -class GURL;
|
| +namespace content {
|
| +
|
| +class WebContents;
|
|
|
| // Helper class which downloads the icon located at a specified. If the icon
|
| // file contains multiple icons then it attempts to pick the one closest in size
|
| @@ -28,7 +28,7 @@ class GURL;
|
| // density of the device. If a bigger icon is chosen then, the icon is scaled
|
| // down to be equal to ideal_icon_size_in_px. Smaller icons will be chosen down
|
| // to the value specified by |minimum_icon_size_in_px|.
|
| -class ManifestIconDownloader final {
|
| +class CONTENT_EXPORT ManifestIconDownloader final {
|
| public:
|
| using IconFetchCallback = base::Callback<void(const SkBitmap&)>;
|
|
|
| @@ -72,4 +72,6 @@ class ManifestIconDownloader final {
|
| DISALLOW_COPY_AND_ASSIGN(ManifestIconDownloader);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_MANIFEST_MANIFEST_ICON_DOWNLOADER_H_
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_MANIFEST_ICON_DOWNLOADER_H_
|
|
|