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

Unified Diff: net/base/upload_data_stream.h

Issue 6969077: net: Add NET_API to net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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: net/base/upload_data_stream.h
===================================================================
--- net/base/upload_data_stream.h (revision 85332)
+++ net/base/upload_data_stream.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "base/memory/scoped_ptr.h"
+#include "net/base/net_api.h"
#include "net/base/upload_data.h"
namespace net {
@@ -14,7 +15,7 @@
class FileStream;
class IOBuffer;
-class UploadDataStream {
+class NET_API UploadDataStream {
public:
~UploadDataStream();
@@ -62,7 +63,7 @@
// returns true only after the data in buf() has been consumed.
bool IsOnLastChunk() const;
-#if defined(UNIT_TEST)
+#if defined(UNIT_TEST) || defined(NET_DLL)
wtc 2011/05/16 20:55:17 Perhaps we should just remove this ifdef? Could y
rvargas (doing something else) 2011/05/16 22:41:56 If the compiler, while building the dll doesn't "s
static void set_merge_chunks(bool merge) { merge_chunks_ = merge; }
wtc 2011/05/16 23:07:13 If appropriate, add a comment to say this method i
#endif

Powered by Google App Engine
This is Rietveld 408576698