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

Side by Side Diff: ios/web/navigation/navigation_item_impl.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ios/web/navigation/navigation_item_impl.h" 5 #include "ios/web/navigation/navigation_item_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
9 #include "components/url_formatter/url_formatter.h" 11 #include "components/url_formatter/url_formatter.h"
10 #include "ui/base/page_transition_types.h" 12 #include "ui/base/page_transition_types.h"
11 #include "ui/gfx/text_elider.h" 13 #include "ui/gfx/text_elider.h"
12 14
13 namespace { 15 namespace {
14 16
15 // Returns a new unique ID for use in NavigationItem during construction. The 17 // Returns a new unique ID for use in NavigationItem during construction. The
16 // returned ID is guaranteed to be nonzero (which is the "no ID" indicator). 18 // returned ID is guaranteed to be nonzero (which is the "no ID" indicator).
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 http_request_headers_.reset(); 269 http_request_headers_.reset();
268 } 270 }
269 271
270 void NavigationItemImpl::ResetForCommit() { 272 void NavigationItemImpl::ResetForCommit() {
271 // Any state that only matters when a navigation item is pending should be 273 // Any state that only matters when a navigation item is pending should be
272 // cleared here. 274 // cleared here.
273 set_is_renderer_initiated(false); 275 set_is_renderer_initiated(false);
274 } 276 }
275 277
276 } // namespace web 278 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/navigation/navigation_item_impl.h ('k') | ios/web/navigation/navigation_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698