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

Unified Diff: storage/browser/fileapi/copy_or_move_operation_delegate.cc

Issue 1775453002: Replace base::Tuple in //storage with std::tuple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update #include Created 4 years, 9 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: storage/browser/fileapi/copy_or_move_operation_delegate.cc
diff --git a/storage/browser/fileapi/copy_or_move_operation_delegate.cc b/storage/browser/fileapi/copy_or_move_operation_delegate.cc
index 157727852922f57f888da8156daeb13e3d021d3d..a31ff7467b8f5ec7130c75067b22be5e2bfc8c89 100644
--- a/storage/browser/fileapi/copy_or_move_operation_delegate.cc
+++ b/storage/browser/fileapi/copy_or_move_operation_delegate.cc
@@ -5,6 +5,7 @@
#include "storage/browser/fileapi/copy_or_move_operation_delegate.h"
#include <stdint.h>
+#include <tuple>
#include <utility>
#include "base/bind.h"
@@ -411,21 +412,21 @@ class StreamCopyOrMoveImpl
void NotifyOnStartUpdate(const FileSystemURL& url) {
if (file_system_context_->GetUpdateObservers(url.type())) {
file_system_context_->GetUpdateObservers(url.type())
- ->Notify(&FileUpdateObserver::OnStartUpdate, base::MakeTuple(url));
+ ->Notify(&FileUpdateObserver::OnStartUpdate, std::make_tuple(url));
}
}
void NotifyOnModifyFile(const FileSystemURL& url) {
if (file_system_context_->GetChangeObservers(url.type())) {
file_system_context_->GetChangeObservers(url.type())
- ->Notify(&FileChangeObserver::OnModifyFile, base::MakeTuple(url));
+ ->Notify(&FileChangeObserver::OnModifyFile, std::make_tuple(url));
}
}
void NotifyOnEndUpdate(const FileSystemURL& url) {
if (file_system_context_->GetUpdateObservers(url.type())) {
file_system_context_->GetUpdateObservers(url.type())
- ->Notify(&FileUpdateObserver::OnEndUpdate, base::MakeTuple(url));
+ ->Notify(&FileUpdateObserver::OnEndUpdate, std::make_tuple(url));
}
}

Powered by Google App Engine
This is Rietveld 408576698