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

Unified Diff: ios/web_view/public/cwv_web_view_configuration.h

Issue 2770633002: Export all CWV* symbols from the ios/web_view dynamic library. (Closed)
Patch Set: Add cwv_export.h to "sources" attribute of //ios/web_view:web_view. Created 3 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: ios/web_view/public/cwv_web_view_configuration.h
diff --git a/ios/web_view/public/cwv_web_view_configuration.h b/ios/web_view/public/cwv_web_view_configuration.h
index 6be74da2d139f6fc2f7dc114faa2c42b72720cc2..5a61b55683a01e7120899f8de1726e92556b22a6 100644
--- a/ios/web_view/public/cwv_web_view_configuration.h
+++ b/ios/web_view/public/cwv_web_view_configuration.h
@@ -7,10 +7,19 @@
#import <Foundation/Foundation.h>
+// TODO(crbug.com/704946): Make framework style include work everywhere and
+// remove this #if.
+#if defined(CWV_IMPLEMENTATION)
+#include "ios/web_view/public/cwv_export.h"
+#else
+#include <ChromeWebView/cwv_export.h>
+#endif
+
@class CWVUserContentController;
@class CWVWebsiteDataStore;
// Configuration used for creation of a CWVWebView.
+CWV_EXPORT
@interface CWVWebViewConfiguration : NSObject<NSCopying>
// Configuration with persistent data store which stores all data on disk.

Powered by Google App Engine
This is Rietveld 408576698