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

Unified Diff: chrome/browser/sync_file_system/mock_remote_file_sync_service.cc

Issue 608133002: [SyncFS] Use nullptr for scoped_ptr initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nullptr
Patch Set: Created 6 years, 3 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: chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc b/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
index 5c43aa8a3686bfa6b3864807e434ee97fb8f77f5..6bd5cebd6f08722f175bf216347a9fcf0a0265bb 100644
--- a/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/mock_remote_file_sync_service.cc
@@ -45,11 +45,11 @@ MockRemoteFileSyncService::~MockRemoteFileSyncService() {
void MockRemoteFileSyncService::DumpFiles(const GURL& origin,
const ListCallback& callback) {
- callback.Run(scoped_ptr<base::ListValue>());
+ callback.Run(nullptr);
}
void MockRemoteFileSyncService::DumpDatabase(const ListCallback& callback) {
- callback.Run(scoped_ptr<base::ListValue>());
+ callback.Run(nullptr);
}
void MockRemoteFileSyncService::SetServiceState(RemoteServiceState state) {

Powered by Google App Engine
This is Rietveld 408576698