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

Side by Side Diff: components/sync/core_impl/attachments/on_disk_attachment_store.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync/core/attachments/on_disk_attachment_store.h" 5 #include "components/sync/core/attachments/on_disk_attachment_store.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram_macros.h"
17 #include "base/sequenced_task_runner.h" 17 #include "base/sequenced_task_runner.h"
18 #include "components/sync/core/attachments/attachment_util.h" 18 #include "components/sync/core/attachments/attachment_util.h"
19 #include "components/sync/core_impl/attachments/proto/attachment_store.pb.h" 19 #include "components/sync/core_impl/attachments/proto/attachment_store.pb.h"
20 #include "components/sync/protocol/attachments.pb.h" 20 #include "components/sync/protocol/attachments.pb.h"
21 #include "third_party/leveldatabase/env_chromium.h" 21 #include "third_party/leveldatabase/env_chromium.h"
22 #include "third_party/leveldatabase/src/include/leveldb/db.h" 22 #include "third_party/leveldatabase/src/include/leveldb/db.h"
23 #include "third_party/leveldatabase/src/include/leveldb/options.h" 23 #include "third_party/leveldatabase/src/include/leveldb/options.h"
24 #include "third_party/leveldatabase/src/include/leveldb/slice.h" 24 #include "third_party/leveldatabase/src/include/leveldb/slice.h"
25 #include "third_party/leveldatabase/src/include/leveldb/status.h" 25 #include "third_party/leveldatabase/src/include/leveldb/status.h"
26 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 26 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 return key; 532 return key;
533 } 533 }
534 534
535 AttachmentMetadata OnDiskAttachmentStore::MakeAttachmentMetadata( 535 AttachmentMetadata OnDiskAttachmentStore::MakeAttachmentMetadata(
536 const AttachmentId& attachment_id, 536 const AttachmentId& attachment_id,
537 const attachment_store_pb::RecordMetadata& record_metadata) { 537 const attachment_store_pb::RecordMetadata& record_metadata) {
538 return AttachmentMetadata(attachment_id, record_metadata.attachment_size()); 538 return AttachmentMetadata(attachment_id, record_metadata.attachment_size());
539 } 539 }
540 540
541 } // namespace syncer 541 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/core/shared_model_type_processor.cc ('k') | components/sync/core_impl/sync_encryption_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698