Skip to content

Commit

Permalink
Fixes header issues found by cpp.py
Browse files Browse the repository at this point in the history
While testing "git cl presubmit --all" I found three latent include
ordering issues in components/sync. All other .cc files in the
components/sync directory pass the presubmits.

Bug: 1309977
Change-Id: I579786e6bb798f0e5a57c73409f5abf0d9708d96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561095
Auto-Submit: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Victor Vianna <victorvianna@google.com>
Commit-Queue: Victor Vianna <victorvianna@google.com>
Cr-Commit-Position: refs/heads/main@{#987384}
  • Loading branch information
randomascii authored and Chromium LUCI CQ committed Mar 31, 2022
1 parent 60cc83e commit 494b9bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions components/sync/base/data_type_histogram.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "components/sync/base/data_type_histogram.h"

#include <string>

#include "base/metrics/histogram_functions.h"

namespace syncer {
Expand Down
2 changes: 1 addition & 1 deletion components/sync/test/model/model_type_store_test_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
// found in the LICENSE file.

#include "components/sync/test/model/model_type_store_test_util.h"
#include "base/memory/raw_ptr.h"

#include <utility>

#include "base/bind.h"
#include "base/debug/leak_annotations.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/threading/sequenced_task_runner_handle.h"
#include "components/sync/base/model_type.h"
Expand Down
1 change: 1 addition & 0 deletions components/sync/trusted_vault/securebox_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <cstdint>
#include <map>
#include <memory>
#include <string>
#include <vector>

#include "base/strings/string_number_conversions.h"
Expand Down

0 comments on commit 494b9bf

Please sign in to comment.