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

Unified Diff: chrome/browser/android/webapk/webapk_icon_hasher_unittest.cc

Issue 2782313002: Add static method WebApkIconHasher::DownloadAndComputeMurmur2Hash (Closed)
Patch Set: Delete non-static download method` Created 3 years, 9 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
Index: chrome/browser/android/webapk/webapk_icon_hasher_unittest.cc
diff --git a/chrome/browser/android/webapk/webapk_icon_hasher_unittest.cc b/chrome/browser/android/webapk/webapk_icon_hasher_unittest.cc
index b01c2d94d003b2ce3f825d1832e81d8c17d89b75..c23d51d90bf0983c7d12a73badbc0607e9ce2a71 100644
--- a/chrome/browser/android/webapk/webapk_icon_hasher_unittest.cc
+++ b/chrome/browser/android/webapk/webapk_icon_hasher_unittest.cc
@@ -37,10 +37,10 @@ class WebApkIconHasherRunner {
~WebApkIconHasherRunner() {}
void Run(const GURL& icon_url) {
- WebApkIconHasher hasher(url_request_context_getter_.get(), icon_url,
+ WebApkIconHasher::DownloadAndComputeMurmur2Hash(
+ url_request_context_getter_.get(), icon_url,
base::Bind(&WebApkIconHasherRunner::OnCompleted,
base::Unretained(this)));
- hasher.DownloadAndComputeMurmur2Hash();
base::RunLoop run_loop;
on_completed_callback_ = run_loop.QuitClosure();
« no previous file with comments | « chrome/browser/android/webapk/webapk_icon_hasher.cc ('k') | chrome/browser/android/webapk/webapk_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698