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

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

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: 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
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..73343ed6f4d265d95610c19d38a5cf6ca233534e
--- /dev/null
+++ b/ios/web_view/public/criwv_web_view_configuration.h
@@ -0,0 +1,20 @@
+// 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
+
+// Data store defining persistance of webstie data.
Eugene But (OOO till 7-30) 2017/02/06 23:31:56 Please document which data store is default.
Eugene But (OOO till 7-30) 2017/02/06 23:31:56 s/webstie/website
michaeldo 2017/02/06 23:53:50 Done.
+@property(nonatomic, strong, nonnull) CRIWVWebsiteDataStore* websiteDataStore;
+
+@end
+
+#endif // IOS_WEB_VIEW_PUBLIC_CRIWV_WEB_VIEW_CONFIGURATION_H_

Powered by Google App Engine
This is Rietveld 408576698