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

Unified Diff: ios/chrome/browser/tabs/tab.h

Issue 2606873002: Move the offline URL trimming to GetFormattedURL. (Closed)
Patch Set: clean Created 4 years 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/chrome/browser/tabs/tab.h
diff --git a/ios/chrome/browser/tabs/tab.h b/ios/chrome/browser/tabs/tab.h
index 0dbf11a4b042036218dc382211165e74d38f3eb8..9712b687dfed226ee7a71ecee734cb7c1ad037f8 100644
--- a/ios/chrome/browser/tabs/tab.h
+++ b/ios/chrome/browser/tabs/tab.h
@@ -349,6 +349,9 @@ extern NSString* const kProxyPassthroughHeaderValue;
// Evaluates U2F result.
- (void)evaluateU2FResultFromURL:(const GURL&)url;
+// Returns whether the tab is currently displaying an offline page.
+- (BOOL)isOffline;
Eugene But (OOO till 7-30) 2016/12/28 17:02:59 Should this be a property, like isLinkLoadingPrere
Olivier 2016/12/29 12:37:20 Removed
+
@end
#endif // IOS_CHROME_BROWSER_TABS_TAB_H_

Powered by Google App Engine
This is Rietveld 408576698