Index: sync/internal_api/attachments/attachment_uploader_impl.cc |
diff --git a/sync/internal_api/attachments/attachment_uploader_impl.cc b/sync/internal_api/attachments/attachment_uploader_impl.cc |
index d67a977c6ca7139f47fd1b372a39c574d8a2dc0b..6874e7c199c42f2384089b1273c5399a33b55e8d 100644 |
--- a/sync/internal_api/attachments/attachment_uploader_impl.cc |
+++ b/sync/internal_api/attachments/attachment_uploader_impl.cc |
@@ -2,9 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "sync/internal_api/public/attachments/attachment_uploader_impl.h" |
- |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/base64.h" |
@@ -25,6 +24,7 @@ |
#include "net/url_request/url_fetcher_delegate.h" |
#include "net/url_request/url_request_status.h" |
#include "sync/api/attachments/attachment.h" |
+#include "sync/internal_api/public/attachments/attachment_uploader_impl.h" |
Nicolas Zea
2015/12/18 23:46:54
keep up top
|
#include "sync/protocol/sync.pb.h" |
namespace { |
@@ -327,7 +327,7 @@ void AttachmentUploaderImpl::UploadAttachment(const Attachment& attachment, |
url, url_request_context_getter_, attachment, callback, account_id_, |
scopes_, token_service_provider_.get(), raw_store_birthday_, |
weak_ptr_factory_.GetWeakPtr(), model_type_)); |
- state_map_.add(unique_id, upload_state.Pass()); |
+ state_map_.add(unique_id, std::move(upload_state)); |
} |
// Static. |