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

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

Issue 2674973003: Adding a DownloadRestrictions group policy. (Closed)
Patch Set: Some oups.... :-) 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 | « content/public/test/fake_download_item.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_download_item.h
diff --git a/content/public/test/mock_download_item.h b/content/public/test/mock_download_item.h
index fc7122dbfcb769da70818f2a0f489e9578815d7b..d35907042e511d0f0ca816c080a5f485d6294d08 100644
--- a/content/public/test/mock_download_item.h
+++ b/content/public/test/mock_download_item.h
@@ -7,6 +7,9 @@
#include <stdint.h>
+#include <string>
+#include <vector>
+
#include "base/callback.h"
#include "base/observer_list.h"
#include "base/time/time.h"
@@ -104,7 +107,8 @@ class MockDownloadItem : public DownloadItem {
MOCK_CONST_METHOD0(IsTransient, bool());
MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*());
MOCK_CONST_METHOD0(GetWebContents, WebContents*());
- MOCK_METHOD1(OnContentCheckCompleted, void(DownloadDangerType));
+ MOCK_METHOD2(OnContentCheckCompleted,
+ void(DownloadDangerType, DownloadInterruptReason));
MOCK_METHOD1(SetOpenWhenComplete, void(bool));
MOCK_METHOD1(SetOpened, void(bool));
MOCK_METHOD1(SetLastAccessTime, void(base::Time));
« no previous file with comments | « content/public/test/fake_download_item.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698