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

Unified Diff: chrome/browser/sync_file_system/drive_backend/folder_creator.h

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Created 3 years, 11 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/drive_backend/folder_creator.h
diff --git a/chrome/browser/sync_file_system/drive_backend/folder_creator.h b/chrome/browser/sync_file_system/drive_backend/folder_creator.h
index dca4186c1fea528b6bcdaffba408df6be59cd147..53457df08405ccb614248af2c3ffb3b859432c72 100644
--- a/chrome/browser/sync_file_system/drive_backend/folder_creator.h
+++ b/chrome/browser/sync_file_system/drive_backend/folder_creator.h
@@ -9,7 +9,6 @@
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/sync_file_system/sync_callbacks.h"
#include "google_apis/drive/drive_api_error_codes.h"
@@ -45,10 +44,11 @@ class FolderCreator {
void DidCreateFolder(const FileIDCallback& callback,
google_apis::DriveApiErrorCode error,
std::unique_ptr<google_apis::FileResource> entry);
- void DidListFolders(const FileIDCallback& callback,
- ScopedVector<google_apis::FileResource> candidates,
- google_apis::DriveApiErrorCode error,
- std::unique_ptr<google_apis::FileList> file_list);
+ void DidListFolders(
+ const FileIDCallback& callback,
+ std::vector<std::unique_ptr<google_apis::FileResource>> candidates,
+ google_apis::DriveApiErrorCode error,
+ std::unique_ptr<google_apis::FileList> file_list);
drive::DriveServiceInterface* drive_service_;
MetadataDatabase* metadata_database_;

Powered by Google App Engine
This is Rietveld 408576698