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

Side by Side Diff: components/drive/resource_metadata_storage.cc

Issue 2373523003: Clean up sparse_histogram.h header (Closed)
Patch Set: Rebase update on Oct 18 Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/drive/resource_metadata_storage.h" 5 #include "components/drive/resource_metadata_storage.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
15 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/ptr_util.h" 19 #include "base/memory/ptr_util.h"
20 #include "base/metrics/histogram.h" 20 #include "base/metrics/histogram.h"
21 #include "base/metrics/sparse_histogram.h" 21 #include "base/metrics/histogram_macros.h"
22 #include "base/sequenced_task_runner.h" 22 #include "base/sequenced_task_runner.h"
23 #include "base/threading/thread_restrictions.h" 23 #include "base/threading/thread_restrictions.h"
24 #include "components/drive/drive.pb.h" 24 #include "components/drive/drive.pb.h"
25 #include "components/drive/drive_api_util.h" 25 #include "components/drive/drive_api_util.h"
26 #include "third_party/leveldatabase/env_chromium.h" 26 #include "third_party/leveldatabase/env_chromium.h"
27 #include "third_party/leveldatabase/src/include/leveldb/db.h" 27 #include "third_party/leveldatabase/src/include/leveldb/db.h"
28 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 28 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
29 29
30 namespace drive { 30 namespace drive {
31 namespace internal { 31 namespace internal {
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 RecordCheckValidityFailure( 1079 RecordCheckValidityFailure(
1080 CHECK_VALIDITY_FAILURE_CHILD_ENTRY_COUNT_MISMATCH); 1080 CHECK_VALIDITY_FAILURE_CHILD_ENTRY_COUNT_MISMATCH);
1081 return false; 1081 return false;
1082 } 1082 }
1083 1083
1084 return true; 1084 return true;
1085 } 1085 }
1086 1086
1087 } // namespace internal 1087 } // namespace internal
1088 } // namespace drive 1088 } // namespace drive
OLDNEW
« no previous file with comments | « components/domain_reliability/uploader.cc ('k') | components/infobars/core/infobar_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698