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

Unified Diff: content/public/test/mock_download_manager.h

Issue 1924473003: [Downloads] Use the initiating StoragePartition for resumption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ordering of site_instance_url/SiteInstanceURL fields, and add history test for WebViewTest. Created 4 years, 7 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: content/public/test/mock_download_manager.h
diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h
index 1ccc70d9d3608811038ebc7d4bf3b664797e3b0a..2770ddfda74bc7e4417367dc3d8a8efe3252b979 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -36,6 +36,7 @@ class MockDownloadManager : public DownloadManager {
base::FilePath target_path;
std::vector<GURL> url_chain;
GURL referrer_url;
+ GURL site_instance_url;
GURL tab_url;
GURL tab_referrer_url;
std::string mime_type;
@@ -58,6 +59,7 @@ class MockDownloadManager : public DownloadManager {
const base::FilePath& target_path,
const std::vector<GURL>& url_chain,
const GURL& referrer_url,
+ const GURL& site_instance_url,
const GURL& tab_url,
const GURL& tab_refererr_url,
const std::string& mime_type,
@@ -117,6 +119,7 @@ class MockDownloadManager : public DownloadManager {
const base::FilePath& target_path,
const std::vector<GURL>& url_chain,
const GURL& referrer_url,
+ const GURL& site_instance_ur,
Charlie Reis 2016/05/05 21:43:23 Typo (missing "l"). Also, should be site_url like
asanka 2016/05/07 00:24:45 Done :)
const GURL& tab_url,
const GURL& tab_refererr_url,
const std::string& mime_type,

Powered by Google App Engine
This is Rietveld 408576698