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

Unified Diff: content/browser/download/mock_download_file.h

Issue 21355004: [Downloads] Move client guid for AV scanning of downloaded files to chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test Created 7 years, 4 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/browser/download/mock_download_file.h
diff --git a/content/browser/download/mock_download_file.h b/content/browser/download/mock_download_file.h
index 74dc75c7c2d016718ef6c10f1cb74d48daa09622..585ca054897871fbeb17ef10067cec91201600b1 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -48,6 +48,15 @@ class MockDownloadFile : virtual public DownloadFile {
MOCK_CONST_METHOD0(Id, int());
MOCK_METHOD0(GetDownloadManager, DownloadManager*());
MOCK_CONST_METHOD0(DebugString, std::string());
+
+ void SetClientGuid(const std::string& guid) OVERRIDE {
asanka 2013/08/08 21:16:01 MOCK_METHOD1(...) You can later use EXPECT_CALL(.
Greg Billock 2013/08/08 23:55:46 Done.
+ guid_ = guid;
+ }
+
+ std::string client_guid() { return guid_; }
+
+ private:
+ std::string guid_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698