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

Unified Diff: extensions/common/api/printer_provider/usb_printer_manifest_data.h

Issue 1908953003: Convert //extensions/{common,shell} from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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/common/api/printer_provider/usb_printer_manifest_data.h
diff --git a/extensions/common/api/printer_provider/usb_printer_manifest_data.h b/extensions/common/api/printer_provider/usb_printer_manifest_data.h
index ed397f0ede05e693386b4208574881edde6ff3a2..007c69b57ddcfab34925b6445f5b6e378a289343 100644
--- a/extensions/common/api/printer_provider/usb_printer_manifest_data.h
+++ b/extensions/common/api/printer_provider/usb_printer_manifest_data.h
@@ -28,8 +28,9 @@ class UsbPrinterManifestData : public Extension::ManifestData {
// Parses the data stored in |value|. Sets |error| and returns an empty
// scoped_ptr on failure.
- static scoped_ptr<UsbPrinterManifestData> FromValue(const base::Value& value,
- base::string16* error);
+ static std::unique_ptr<UsbPrinterManifestData> FromValue(
+ const base::Value& value,
+ base::string16* error);
bool SupportsDevice(const scoped_refptr<device::UsbDevice>& device) const;

Powered by Google App Engine
This is Rietveld 408576698