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

Unified Diff: extensions/browser/api/document_scan/document_scan_api.h

Issue 1902873002: Convert //extensions/browser/api from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: extensions/browser/api/document_scan/document_scan_api.h
diff --git a/extensions/browser/api/document_scan/document_scan_api.h b/extensions/browser/api/document_scan/document_scan_api.h
index efd0443ceffc54f4535e4898de531dea39349a7a..f08aa99ac875078989c8ee3e26095a2de5b02b44 100644
--- a/extensions/browser/api/document_scan/document_scan_api.h
+++ b/extensions/browser/api/document_scan/document_scan_api.h
@@ -5,11 +5,11 @@
#ifndef EXTENSIONS_BROWSER_API_DOCUMENT_SCAN_DOCUMENT_SCAN_API_H_
#define EXTENSIONS_BROWSER_API_DOCUMENT_SCAN_DOCUMENT_SCAN_API_H_
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "extensions/browser/api/async_api_function.h"
#include "extensions/browser/api/document_scan/document_scan_interface.h"
#include "extensions/common/api/document_scan.h"
@@ -42,8 +42,8 @@ class DocumentScanScanFunction : public AsyncApiFunction {
const std::string& mime_type,
const std::string& error);
- scoped_ptr<document_scan::Scan::Params> params_;
- scoped_ptr<DocumentScanInterface> document_scan_interface_;
+ std::unique_ptr<document_scan::Scan::Params> params_;
+ std::unique_ptr<DocumentScanInterface> document_scan_interface_;
DISALLOW_COPY_AND_ASSIGN(DocumentScanScanFunction);
};
« no previous file with comments | « extensions/browser/api/dns/dns_apitest.cc ('k') | extensions/browser/api/document_scan/document_scan_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698