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

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

Issue 2618393003: Remove ScopedVector from ContentBrowserClient. (Closed)
Patch Set: rebase 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 State state_; 384 State state_;
385 385
386 // Whether the navigation is in the middle of a transfer. Set to false when 386 // Whether the navigation is in the middle of a transfer. Set to false when
387 // the DidStartProvisionalLoad is received from the new renderer. 387 // the DidStartProvisionalLoad is received from the new renderer.
388 bool is_transferring_; 388 bool is_transferring_;
389 389
390 // The FrameTreeNode this navigation is happening in. 390 // The FrameTreeNode this navigation is happening in.
391 FrameTreeNode* frame_tree_node_; 391 FrameTreeNode* frame_tree_node_;
392 392
393 // A list of Throttles registered for this navigation. 393 // A list of Throttles registered for this navigation.
394 ScopedVector<NavigationThrottle> throttles_; 394 std::vector<std::unique_ptr<NavigationThrottle>> throttles_;
395 395
396 // The index of the next throttle to check. 396 // The index of the next throttle to check.
397 size_t next_index_; 397 size_t next_index_;
398 398
399 // The time this navigation started. 399 // The time this navigation started.
400 const base::TimeTicks navigation_start_; 400 const base::TimeTicks navigation_start_;
401 401
402 // The unique id of the corresponding NavigationEntry. 402 // The unique id of the corresponding NavigationEntry.
403 int pending_nav_entry_id_; 403 int pending_nav_entry_id_;
404 404
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 std::string searchable_form_encoding_; 454 std::string searchable_form_encoding_;
455 455
456 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 456 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
457 457
458 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 458 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
459 }; 459 };
460 460
461 } // namespace content 461 } // namespace content
462 462
463 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 463 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/fileapi/file_system_url_request_job_unittest.cc ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698