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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KnownPorts.h

Issue 2194973002: Fix linker warning in broadcast_channel.mojom-blink.obj. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tighten deps Created 4 years, 5 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: third_party/WebKit/Source/platform/weborigin/KnownPorts.h
diff --git a/third_party/WebKit/Source/platform/weborigin/KnownPorts.h b/third_party/WebKit/Source/platform/weborigin/KnownPorts.h
index 0bb16fec54191ddde90a7ed08359f3551d64081b..870c554e48f2527f26a198bab33e72b90548c0e1 100644
--- a/third_party/WebKit/Source/platform/weborigin/KnownPorts.h
+++ b/third_party/WebKit/Source/platform/weborigin/KnownPorts.h
@@ -26,7 +26,7 @@
#ifndef KnownPorts_h
#define KnownPorts_h
-#include "platform/PlatformExport.h"
+#include "platform/weborigin/OriginExport.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -34,13 +34,13 @@ namespace blink {
class KURL;
// Returns true if |port| is known to be the default for |protocol|. |protocol| must be lower case.
-PLATFORM_EXPORT bool isDefaultPortForProtocol(unsigned short port, const WTF::String& protocol);
+ORIGIN_EXPORT bool isDefaultPortForProtocol(unsigned short port, const WTF::String& protocol);
// Returns 0 for unknown protocols. |protocol| must be lower case.
-PLATFORM_EXPORT unsigned short defaultPortForProtocol(const WTF::String& protocol);
+ORIGIN_EXPORT unsigned short defaultPortForProtocol(const WTF::String& protocol);
// Returns true if the port of the |url| is allowed for the scheme of the |url|.
-PLATFORM_EXPORT bool isPortAllowedForScheme(const KURL&);
+ORIGIN_EXPORT bool isPortAllowedForScheme(const KURL&);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/KURL.h ('k') | third_party/WebKit/Source/platform/weborigin/OriginAccessEntry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698