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

Unified Diff: base/string_piece.h

Issue 6725001: Base: First pass at having base.dll: definition of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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: base/string_piece.h
===================================================================
--- base/string_piece.h (revision 78949)
+++ base/string_piece.h (working copy)
@@ -21,11 +21,12 @@
#include <string>
+#include "base/base_api.h"
#include "base/basictypes.h"
namespace base {
-class StringPiece {
+class BASE_API StringPiece {
public:
// standard STL container boilerplate
typedef size_t size_type;
@@ -163,7 +164,7 @@
size_type length_;
};
-bool operator==(const StringPiece& x, const StringPiece& y);
+BASE_API bool operator==(const StringPiece& x, const StringPiece& y);
inline bool operator!=(const StringPiece& x, const StringPiece& y) {
return !(x == y);

Powered by Google App Engine
This is Rietveld 408576698