Index: ios/web_view/public/cwv_delegate.h |
diff --git a/ios/web_view/public/cwv_delegate.h b/ios/web_view/public/cwv_delegate.h |
index 8000a2eb5b1971c92979581910ac7567c8f0548e..c48126b1546b7e51da89fb56f472752601dcaa87 100644 |
--- a/ios/web_view/public/cwv_delegate.h |
+++ b/ios/web_view/public/cwv_delegate.h |
@@ -4,11 +4,17 @@ |
#ifndef IOS_WEB_VIEW_PUBLIC_CWV_DELEGATE_H_ |
#define IOS_WEB_VIEW_PUBLIC_CWV_DELEGATE_H_ |
+#if defined(CWV_IMPLEMENTATION) |
+#include "ios/web_view/public/cwv_export.h" |
+#else |
+#include <ChromeWebView/cwv_export.h> |
+#endif |
+ |
@class NSString; |
// Delegate interface for the CWV library. Embedders can implement the |
// functions in order to customize library behavior. |
-@protocol CWVDelegate |
+CWV_EXPORT @protocol CWVDelegate |
// Returns a partial user agent of the form "ProductName/Version". |
- (NSString*)partialUserAgent; |