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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/cookie_store_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 23fd868a00fc5e1316f999bb60e22572842881ae..41e23224d7a344fdaad616cbf1c1d15f8bb8c9af 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -102,7 +102,7 @@ bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation(
return false;
}
-scoped_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
+std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
return nullptr;
}
@@ -220,17 +220,16 @@ QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
return nullptr;
}
-scoped_ptr<storage::QuotaEvictionPolicy>
+std::unique_ptr<storage::QuotaEvictionPolicy>
ContentBrowserClient::GetTemporaryStorageEvictionPolicy(
content::BrowserContext* context) {
- return scoped_ptr<storage::QuotaEvictionPolicy>();
+ return std::unique_ptr<storage::QuotaEvictionPolicy>();
}
void ContentBrowserClient::SelectClientCertificate(
WebContents* web_contents,
net::SSLCertRequestInfo* cert_request_info,
- scoped_ptr<ClientCertificateDelegate> delegate) {
-}
+ std::unique_ptr<ClientCertificateDelegate> delegate) {}
net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
const GURL& url, ResourceContext* context) {
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/cookie_store_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698