Index: chrome/browser/chromeos/extensions/file_system_provider/provider_function.h |
diff --git a/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h b/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h |
index 040fdac05b318c4032fd53a021ec078453ea86eb..b297f1bbb682982e42f265412838af93eccd5ade 100644 |
--- a/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h |
+++ b/chrome/browser/chromeos/extensions/file_system_provider/provider_function.h |
@@ -5,10 +5,10 @@ |
#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_PROVIDER_FUNCTION_H_ |
#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_PROVIDER_FUNCTION_H_ |
+#include <memory> |
#include <string> |
#include "base/files/file.h" |
-#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/extensions/chrome_extension_function.h" |
#include "chrome/common/extensions/api/file_system_provider.h" |
@@ -60,7 +60,7 @@ class FileSystemProviderInternalFunction : public ChromeSyncExtensionFunction { |
// Rejects the request and sets a response for this API function. Returns true |
// on success, and false on failure. |
bool RejectRequest( |
- scoped_ptr<chromeos::file_system_provider::RequestValue> value, |
+ std::unique_ptr<chromeos::file_system_provider::RequestValue> value, |
base::File::Error error); |
// Fulfills the request with parsed arguments of this API function |
@@ -68,7 +68,7 @@ class FileSystemProviderInternalFunction : public ChromeSyncExtensionFunction { |
// If |has_more| is set to true, then the function will be called again for |
// this request. Returns true on success, and false on failure. |
bool FulfillRequest( |
- scoped_ptr<chromeos::file_system_provider::RequestValue> value, |
+ std::unique_ptr<chromeos::file_system_provider::RequestValue> value, |
bool has_more); |
// Subclasses implement this for their functionality. |