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

Unified Diff: public/platform/WebCString.h

Issue 16024011: Construct a minimal blink library in-place (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix mac again Created 7 years, 6 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
« no previous file with comments | « public/blink.gyp ('k') | public/platform/WebCommon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCString.h
diff --git a/public/platform/WebCString.h b/public/platform/WebCString.h
index 7eb6fc1463a51890fd7f18561c77b01b1b067944..81e2065fd347c9e03f2599f119bc667f07a4d22a 100644
--- a/public/platform/WebCString.h
+++ b/public/platform/WebCString.h
@@ -34,7 +34,7 @@
#include "WebCommon.h"
#include "WebPrivatePtr.h"
-#if WEBKIT_IMPLEMENTATION
+#if INSIDE_WEBKIT
#include <wtf/Forward.h>
#else
#include <string>
@@ -76,24 +76,24 @@ public:
// Returns 0 if both strings are equals, a value greater than zero if the
// first character that does not match has a greater value in this string
// than in |other|, or a value less than zero to indicate the opposite.
- WEBKIT_EXPORT int compare(const WebCString& other) const;
+ BLINK_COMMON_EXPORT int compare(const WebCString& other) const;
- WEBKIT_EXPORT void reset();
- WEBKIT_EXPORT void assign(const WebCString&);
- WEBKIT_EXPORT void assign(const char* data, size_t len);
+ BLINK_COMMON_EXPORT void reset();
+ BLINK_COMMON_EXPORT void assign(const WebCString&);
+ BLINK_COMMON_EXPORT void assign(const char* data, size_t len);
- WEBKIT_EXPORT size_t length() const;
- WEBKIT_EXPORT const char* data() const;
+ BLINK_COMMON_EXPORT size_t length() const;
+ BLINK_COMMON_EXPORT const char* data() const;
bool isEmpty() const { return !length(); }
bool isNull() const { return m_private.isNull(); }
- WEBKIT_EXPORT WebString utf16() const;
+ BLINK_COMMON_EXPORT WebString utf16() const;
-#if WEBKIT_IMPLEMENTATION
- WebCString(const WTF::CString&);
- WebCString& operator=(const WTF::CString&);
- operator WTF::CString() const;
+#if INSIDE_WEBKIT
+ BLINK_COMMON_EXPORT WebCString(const WTF::CString&);
+ BLINK_COMMON_EXPORT WebCString& operator=(const WTF::CString&);
+ BLINK_COMMON_EXPORT operator WTF::CString() const;
#else
WebCString(const std::string& s)
{
@@ -120,7 +120,7 @@ public:
#endif
private:
- void assign(WTF::CStringBuffer*);
+ BLINK_COMMON_EXPORT void assign(WTF::CStringBuffer*);
WebPrivatePtr<WTF::CStringBuffer> m_private;
};
« no previous file with comments | « public/blink.gyp ('k') | public/platform/WebCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698