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

Unified Diff: net/base/upload_data.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.h
===================================================================
--- net/base/upload_data.h (revision 85332)
+++ net/base/upload_data.h (working copy)
@@ -12,8 +12,9 @@
#include "base/file_path.h"
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
+#include "base/time.h"
#include "googleurl/src/gurl.h"
-#include "base/time.h"
+#include "net/base/net_api.h"
namespace net {
@@ -21,7 +22,7 @@
// Interface implemented by callers who require callbacks when new chunks
// of data are added.
-class ChunkCallback {
+class NET_TEST ChunkCallback {
public:
// Invoked when a new data chunk was given for a chunked transfer upload.
virtual void OnChunkAvailable() = 0;
@@ -30,7 +31,7 @@
virtual ~ChunkCallback() {}
};
-class UploadData : public base::RefCounted<UploadData> {
+class NET_API UploadData : public base::RefCounted<UploadData> {
public:
enum Type {
TYPE_BYTES,
@@ -42,7 +43,7 @@
TYPE_CHUNK,
};
- class Element {
+ class NET_API Element {
public:
Element();
~Element();

Powered by Google App Engine
This is Rietveld 408576698