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

Side by Side Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2618393003: Remove ScopedVector from ContentBrowserClient. (Closed)
Patch Set: cleaner a bit Created 3 years, 11 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
7 7
8 #include "content/public/browser/navigation_handle.h" 8 #include "content/public/browser/navigation_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 State state_; 377 State state_;
378 378
379 // Whether the navigation is in the middle of a transfer. Set to false when 379 // Whether the navigation is in the middle of a transfer. Set to false when
380 // the DidStartProvisionalLoad is received from the new renderer. 380 // the DidStartProvisionalLoad is received from the new renderer.
381 bool is_transferring_; 381 bool is_transferring_;
382 382
383 // The FrameTreeNode this navigation is happening in. 383 // The FrameTreeNode this navigation is happening in.
384 FrameTreeNode* frame_tree_node_; 384 FrameTreeNode* frame_tree_node_;
385 385
386 // A list of Throttles registered for this navigation. 386 // A list of Throttles registered for this navigation.
387 ScopedVector<NavigationThrottle> throttles_; 387 std::vector<std::unique_ptr<NavigationThrottle>> throttles_;
388 388
389 // The index of the next throttle to check. 389 // The index of the next throttle to check.
390 size_t next_index_; 390 size_t next_index_;
391 391
392 // The time this navigation started. 392 // The time this navigation started.
393 const base::TimeTicks navigation_start_; 393 const base::TimeTicks navigation_start_;
394 394
395 // The unique id of the corresponding NavigationEntry. 395 // The unique id of the corresponding NavigationEntry.
396 int pending_nav_entry_id_; 396 int pending_nav_entry_id_;
397 397
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 std::string searchable_form_encoding_; 444 std::string searchable_form_encoding_;
445 445
446 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 446 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
447 447
448 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 448 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
449 }; 449 };
450 450
451 } // namespace content 451 } // namespace content
452 452
453 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 453 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698