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

Unified Diff: ios/web/web_state/navigation_context_impl.h

Issue 2845913003: Cleaned up unused methods from WebStateImpl and NavigationContextImpl. (Closed)
Patch Set: Fixed tests Created 3 years, 7 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/public/test/fakes/test_web_state_observer.mm ('k') | ios/web/web_state/navigation_context_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/navigation_context_impl.h
diff --git a/ios/web/web_state/navigation_context_impl.h b/ios/web/web_state/navigation_context_impl.h
index de9a9a763df16c5506a22fa0269e73f40cc1d993..14a56c9df22fc587d0d3441b0094a0e6ac7107de 100644
--- a/ios/web/web_state/navigation_context_impl.h
+++ b/ios/web/web_state/navigation_context_impl.h
@@ -23,23 +23,6 @@ class NavigationContextImpl : public NavigationContext {
WebState* web_state,
const GURL& url);
- // Creates navigation context for sucessful navigation to a different page.
- static std::unique_ptr<NavigationContextImpl> CreateNavigationContext(
- WebState* web_state,
- const GURL& url,
- const scoped_refptr<net::HttpResponseHeaders>& response_headers);
-
- // Creates navigation context for sucessful same page navigation.
- static std::unique_ptr<NavigationContextImpl>
- CreateSameDocumentNavigationContext(WebState* web_state, const GURL& url);
-
- // Creates navigation context for the error page navigation.
- static std::unique_ptr<NavigationContextImpl>
- CreateErrorPageNavigationContext(
- WebState* web_state,
- const GURL& url,
- const scoped_refptr<net::HttpResponseHeaders>& response_headers);
-
#ifndef NDEBUG
// Returns human readable description of this object.
NSString* GetDescription() const;
« no previous file with comments | « ios/web/public/test/fakes/test_web_state_observer.mm ('k') | ios/web/web_state/navigation_context_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698