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

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

Issue 8372034: Created an interface for DownloadFile, for use in unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo Created 9 years, 1 month 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/base_file.h
diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h
index 8fbcdd0a9d1f79b0d868a5ec91e2b1db7ffb4330..2a0994358055c89d9f84c59b1fca13c4f5076f5e 100644
--- a/content/browser/download/base_file.h
+++ b/content/browser/download/base_file.h
@@ -15,6 +15,7 @@
#include "content/browser/power_save_blocker.h"
#include "content/common/content_export.h"
#include "googleurl/src/gurl.h"
+#include "net/base/file_stream.h"
#include "net/base/net_errors.h"
namespace crypto {
@@ -86,7 +87,6 @@ class CONTENT_EXPORT BaseFile {
private:
friend class BaseFileTest;
- friend class DownloadFileWithMockStream;
FRIEND_TEST_ALL_PREFIXES(BaseFileTest, IsEmptySha256Hash);
static const size_t kSha256HashLen = 32;

Powered by Google App Engine
This is Rietveld 408576698