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

Unified Diff: headless/lib/browser/headless_browser_context.cc

Issue 1854043002: convert //headless to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « headless/lib/browser/headless_browser_context.h ('k') | headless/lib/browser/headless_browser_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_browser_context.cc
diff --git a/headless/lib/browser/headless_browser_context.cc b/headless/lib/browser/headless_browser_context.cc
index 3ccaef32c93e13d10e5c94d5facb64f435f8d494..13ffced41defc6eeeeee1e2f80e4b89a9f32d64d 100644
--- a/headless/lib/browser/headless_browser_context.cc
+++ b/headless/lib/browser/headless_browser_context.cc
@@ -4,6 +4,8 @@
#include "headless/lib/browser/headless_browser_context.h"
+#include <memory>
+
#include "base/path_service.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/resource_context.h"
@@ -77,10 +79,10 @@ void HeadlessBrowserContext::InitWhileIOAllowed() {
BrowserContext::Initialize(this, path_);
}
-scoped_ptr<content::ZoomLevelDelegate>
+std::unique_ptr<content::ZoomLevelDelegate>
HeadlessBrowserContext::CreateZoomLevelDelegate(
const base::FilePath& partition_path) {
- return scoped_ptr<content::ZoomLevelDelegate>();
+ return std::unique_ptr<content::ZoomLevelDelegate>();
}
base::FilePath HeadlessBrowserContext::GetPath() const {
« no previous file with comments | « headless/lib/browser/headless_browser_context.h ('k') | headless/lib/browser/headless_browser_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698