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

Unified Diff: content/browser/frame_host/navigator_delegate.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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigator_delegate.h
diff --git a/content/browser/frame_host/navigator_delegate.h b/content/browser/frame_host/navigator_delegate.h
index d91b78e95cb3b39b3e15c333070eb280c7059749..0a5e3c33b811cbc42f6b80858b449c369b837808 100644
--- a/content/browser/frame_host/navigator_delegate.h
+++ b/content/browser/frame_host/navigator_delegate.h
@@ -5,7 +5,6 @@
#ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
#define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
-#include "base/memory/scoped_vector.h"
#include "base/strings/string16.h"
#include "content/public/browser/invalidate_type.h"
#include "content/public/browser/navigation_controller.h"
@@ -136,8 +135,8 @@ class CONTENT_EXPORT NavigatorDelegate {
// Returns the NavigationThrottles to add to this navigation. Normally these
// are defined by the content/ embedder, except in the case of interstitials
// where no NavigationThrottles are added to the navigation.
- virtual ScopedVector<NavigationThrottle> CreateThrottlesForNavigation(
- NavigationHandle* navigation_handle);
+ virtual std::vector<std::unique_ptr<NavigationThrottle>>
+ CreateThrottlesForNavigation(NavigationHandle* navigation_handle);
// PlzNavigate
// Called at the start of the navigation to get opaque data the embedder
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | content/browser/frame_host/navigator_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698