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

Unified Diff: chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc

Issue 2933743002: Move chrome/browser/manifest to content/browser. (Closed)
Patch Set: rebased Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/shortcut_helper.cc ('k') | chrome/browser/installable/installable_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
diff --git a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
index e5f3bc8762e6a643138a6cdda0056b39e99880f3..5cd67754eb479e05b205493d199d6ac4ff5ca946 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
+++ b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
@@ -17,7 +17,6 @@
#include "chrome/browser/android/webapk/webapk_web_manifest_checker.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/installable/installable_manager.h"
-#include "chrome/browser/manifest/manifest_icon_selector.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/render_messages.h"
@@ -26,6 +25,7 @@
#include "components/favicon/core/favicon_service.h"
#include "components/favicon_base/favicon_types.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/manifest_icon_selector.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/manifest.h"
@@ -236,10 +236,11 @@ void AddToHomescreenDataFetcher::OnDidPerformInstallableCheck(
}
// Save the splash screen URL for the later download.
- shortcut_info_.splash_image_url = ManifestIconSelector::FindBestMatchingIcon(
- data.manifest.icons, ideal_splash_image_size_in_px_,
- minimum_splash_image_size_in_px_,
- content::Manifest::Icon::IconPurpose::ANY);
+ shortcut_info_.splash_image_url =
+ content::ManifestIconSelector::FindBestMatchingIcon(
+ data.manifest.icons, ideal_splash_image_size_in_px_,
+ minimum_splash_image_size_in_px_,
+ content::Manifest::Icon::IconPurpose::ANY);
shortcut_info_.ideal_splash_image_size_in_px = ideal_splash_image_size_in_px_;
shortcut_info_.minimum_splash_image_size_in_px =
minimum_splash_image_size_in_px_;
« no previous file with comments | « chrome/browser/android/shortcut_helper.cc ('k') | chrome/browser/installable/installable_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698