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

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

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: Rebase. Respond to comments. Fix duplicate unique_ptr. Created 3 years, 10 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 | « ios/web_view/public/criwv_web_view.h ('k') | ios/web_view/public/criwv_website_data_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/criwv_web_view_configuration.h
diff --git a/ios/web_view/public/criwv_web_view_configuration.h b/ios/web_view/public/criwv_web_view_configuration.h
new file mode 100644
index 0000000000000000000000000000000000000000..54a55b98d4a0156f9c9f1f536b5b990ea387a54f
--- /dev/null
+++ b/ios/web_view/public/criwv_web_view_configuration.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_CONFIGURATION_H_
+#define IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_CONFIGURATION_H_
+
+#import <Foundation/Foundation.h>
+
+@class CRIWVWebsiteDataStore;
+
+// Configuration used for creation of a CRIWVWebView.
+@interface CRIWVWebViewConfiguration : NSObject<NSCopying>
+
+// Data store defining persistance of website data. Default is
+// [CRIWVWebsiteDataStore defaultDataStore].
+@property(nonatomic, strong, nonnull) CRIWVWebsiteDataStore* websiteDataStore;
+
+@end
+
+#endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_CONFIGURATION_H_
« no previous file with comments | « ios/web_view/public/criwv_web_view.h ('k') | ios/web_view/public/criwv_website_data_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698