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

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

Issue 2812223002: Fixed comments for GetLastCommittedNonRedirectedItem unit tests. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | ios/chrome/browser/web/navigation_manager_util_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_WEB_NAVIGATION_MANAGER_UTIL_H_ 5 #ifndef IOS_CHROME_BROWSER_WEB_NAVIGATION_MANAGER_UTIL_H_
6 #define IOS_CHROME_BROWSER_WEB_NAVIGATION_MANAGER_UTIL_H_ 6 #define IOS_CHROME_BROWSER_WEB_NAVIGATION_MANAGER_UTIL_H_
7 7
8 #import "ios/web/public/navigation_item.h" 8 #import "ios/web/public/navigation_item.h"
9 #import "ios/web/public/navigation_manager.h" 9 #import "ios/web/public/navigation_manager.h"
10 10
11 // Utility functions built on web::NavigationManager public API. 11 // Utility functions built on web::NavigationManager public API.
12 12
13 // Returns the most recent Committed Item that is not the result of a client or 13 // Returns the most recent Committed Item that is not the result of a client or
14 // server-side redirect redirect from the given Navigation Manager. Returns 14 // server-side redirect from the given Navigation Manager. Returns nullptr if
15 // nullptr if there's an error condition on the input |nav_manager|, such as 15 // there's an error condition on the input |nav_manager|, such as nullptr or no
16 // nullptr or no non-redirect items. 16 // non-redirect items.
17 web::NavigationItem* GetLastCommittedNonRedirectedItem( 17 web::NavigationItem* GetLastCommittedNonRedirectedItem(
18 web::NavigationManager* nav_manager); 18 web::NavigationManager* nav_manager);
19 19
20 #endif // IOS_CHROME_BROWSER_WEB_NAVIGATION_MANAGER_UTIL_H_ 20 #endif // IOS_CHROME_BROWSER_WEB_NAVIGATION_MANAGER_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/web/navigation_manager_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698