Files
Valentin Shergin 8c0ba25f19 Fabric: Storing ImageLoader (instead of ImageManager) in ContextConteiner
Summary:
ImageLoader is an actual external dependency, not a ImageManager.
That change allows to remove dependency on ImageManager from SurfacePresenter and make some other code simpler.

Reviewed By: mdvacca

Differential Revision: D15242047

fbshipit-source-id: 8622d15b8fdb5c3a7e25091adf7be1108f87ecd5
2019-05-09 15:49:18 -07:00

30 lines
662 B
C++

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ImageManager.h"
namespace facebook {
namespace react {
ImageManager::ImageManager(ContextContainer::Shared const &contextContainer) {
// Silence unused-private-field warning.
(void)self_;
// Not implemented.
}
ImageManager::~ImageManager() {
// Not implemented.
}
ImageRequest ImageManager::requestImage(const ImageSource &imageSource) const {
// Not implemented.
return ImageRequest(imageSource);
}
} // namespace react
} // namespace facebook