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

Side by Side Diff: ios/chrome/browser/web/error_page_generator.h

Issue 2704383003: Error pages: Break retain cycle NativeContent/StaticHTMLViewController (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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_WEB_ERROR_PAGE_GENERATOR_H_
6 #define IOS_CHROME_BROWSER_WEB_ERROR_PAGE_GENERATOR_H_
7
8 #import <Foundation/Foundation.h>
9
10 #import "ios/chrome/browser/ui/static_content/static_html_view_controller.h"
11
12 // This class is needed because StaticHtmlViewController retains the
13 // HtmlGenerator.
14 @interface ErrorPageGenerator : NSObject<HtmlGenerator>
15 - (instancetype)initWithError:(NSError*)error
16 isPost:(BOOL)isPost
17 isIncognito:(BOOL)isIncognito NS_DESIGNATED_INITIALIZER;
18
19 - (instancetype)init NS_UNAVAILABLE;
20 @end
21
22 #endif // IOS_CHROME_BROWSER_WEB_ERROR_PAGE_GENERATOR_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/web/error_page_content_unittest.mm ('k') | ios/chrome/browser/web/error_page_generator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698