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

Unified Diff: Source/platform/weborigin/OriginAccessEntry.h

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 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
« no previous file with comments | « Source/platform/weborigin/OWNERS ('k') | Source/platform/weborigin/OriginAccessEntry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/weborigin/OriginAccessEntry.h
diff --git a/Source/weborigin/OriginAccessEntry.h b/Source/platform/weborigin/OriginAccessEntry.h
similarity index 91%
rename from Source/weborigin/OriginAccessEntry.h
rename to Source/platform/weborigin/OriginAccessEntry.h
index d93bbfea4f13bd934a98b61e62fe6f5421a243ab..4f75a6f9427d79b4d81f9fa768ac88f138b04772 100644
--- a/Source/weborigin/OriginAccessEntry.h
+++ b/Source/platform/weborigin/OriginAccessEntry.h
@@ -31,14 +31,14 @@
#ifndef OriginAccessEntry_h
#define OriginAccessEntry_h
-#include "weborigin/WebOriginExport.h"
+#include "platform/PlatformExport.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
class SecurityOrigin;
-class WEBORIGIN_EXPORT OriginAccessEntry {
+class PLATFORM_EXPORT OriginAccessEntry {
public:
enum SubdomainSetting {
AllowSubdomains,
@@ -67,7 +67,7 @@ private:
bool m_hostIsIPAddress;
};
-WEBORIGIN_EXPORT inline bool operator==(const OriginAccessEntry& a, const OriginAccessEntry& b)
+PLATFORM_EXPORT inline bool operator==(const OriginAccessEntry& a, const OriginAccessEntry& b)
{
return equalIgnoringCase(a.protocol(), b.protocol())
&& equalIgnoringCase(a.host(), b.host())
@@ -75,7 +75,7 @@ WEBORIGIN_EXPORT inline bool operator==(const OriginAccessEntry& a, const Origin
&& a.ipAddressSettings() == b.ipAddressSettings();
}
-WEBORIGIN_EXPORT inline bool operator!=(const OriginAccessEntry& a, const OriginAccessEntry& b)
+PLATFORM_EXPORT inline bool operator!=(const OriginAccessEntry& a, const OriginAccessEntry& b)
{
return !(a == b);
}
« no previous file with comments | « Source/platform/weborigin/OWNERS ('k') | Source/platform/weborigin/OriginAccessEntry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698