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

Unified Diff: ios/web_view/internal/criwv_web_view_impl.h

Issue 2650323002: Cleanup ios/web_view. (Closed)
Patch Set: Respond to comments. Created 3 years, 11 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/internal/criwv_web_main_parts.mm ('k') | ios/web_view/internal/criwv_web_view_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/criwv_web_view_impl.h
diff --git a/ios/web_view/internal/criwv_web_view_impl.h b/ios/web_view/internal/criwv_web_view_impl.h
index f34d8aa949f369e1599c7d57646dbaf77a22e535..fbd9170e9ab082c8b473e93215212f296da232d6 100644
--- a/ios/web_view/internal/criwv_web_view_impl.h
+++ b/ios/web_view/internal/criwv_web_view_impl.h
@@ -1,6 +1,7 @@
// Copyright 2014 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_INTERNAL_CRIWV_WEB_VIEW_IMPL_H_
#define IOS_WEB_VIEW_INTERNAL_CRIWV_WEB_VIEW_IMPL_H_
@@ -12,9 +13,10 @@ class CRIWVBrowserState;
@interface CRIWVWebViewImpl : NSObject<CRIWVWebView>
-// Designated initializer.
+- (instancetype)init NS_UNAVAILABLE;
+
- (instancetype)initWithBrowserState:
- (ios_web_view::CRIWVBrowserState*)browserState;
+ (ios_web_view::CRIWVBrowserState*)browserState NS_DESIGNATED_INITIALIZER;
@end
« no previous file with comments | « ios/web_view/internal/criwv_web_main_parts.mm ('k') | ios/web_view/internal/criwv_web_view_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698