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

Unified Diff: chrome/browser/chrome_content_browser_client.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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 71a64f42ae5097721828e8d99b526941938464ed..ab6d1781449764d4fd4c4168851829294005b92f 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -245,7 +245,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
void GetAdditionalFileSystemBackends(
content::BrowserContext* browser_context,
const base::FilePath& storage_partition_path,
- ScopedVector<storage::FileSystemBackend>* additional_backends) override;
+ std::vector<std::unique_ptr<storage::FileSystemBackend>>*
+ additional_backends) override;
content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
content::TracingDelegate* GetTracingDelegate() override;
bool IsPluginAllowedToCallRequestOSFileHandle(
@@ -299,8 +300,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
GetReceiverPresentationServiceDelegate(
content::WebContents* web_contents) override;
void RecordURLMetric(const std::string& metric, const GURL& url) override;
- ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
- content::NavigationHandle* handle) override;
+ std::vector<std::unique_ptr<content::NavigationThrottle>>
+ CreateThrottlesForNavigation(content::NavigationHandle* handle) override;
std::unique_ptr<content::NavigationUIData> GetNavigationUIData(
content::NavigationHandle* navigation_handle) override;
std::unique_ptr<content::MemoryCoordinatorDelegate>
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698