Skip to content

Commit

Permalink
[jumbo] add missing include guards in //chrome
Browse files Browse the repository at this point in the history
Also, move some existing include guards closer to the top of the file.

And fix a license header typo (required by PRESUBMIT).

Change-Id: I7f7153ea0e9787ea473753b69b6b83ce0c5ea6d3
Reviewed-on: https://chromium-review.googlesource.com/882325
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: apacible <apacible@chromium.org>
Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com>
Cr-Commit-Position: refs/heads/master@{#531611}
  • Loading branch information
mostynb authored and Commit Bot committed Jan 24, 2018
1 parent cd6e3b9 commit 9dc4362
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions chrome/browser/chromeos/file_manager/volume_manager_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/macros.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"

#ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_FACTORY_H_
#define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_VOLUME_MANAGER_FACTORY_H_

#include "base/macros.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"

namespace base {
template <typename T>
struct DefaultSingletonTraits;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright 2017 the Chromium Authors. All rights reserved.
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_DETECTOR_TEST_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_DETECTOR_TEST_UTIL_H_

#include "chrome/browser/chromeos/printing/printer_detector.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "content/public/test/test_utils.h"
Expand Down Expand Up @@ -57,3 +60,5 @@ class PrinterDetectorTest : public testing::Test {

} // namespace
} // namespace chromeos

#endif // CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_DETECTOR_TEST_UTIL_H_
6 changes: 3 additions & 3 deletions chrome/test/media_router/test_media_sinks_observer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_TEST_MEDIA_ROUTER_TEST_MEDIA_SINKS_OBSERVER_H_
#define CHROME_TEST_MEDIA_ROUTER_TEST_MEDIA_SINKS_OBSERVER_H_

#include <map>
#include <string>
#include <vector>

#include "chrome/browser/media/router/media_sinks_observer.h"

#ifndef CHROME_TEST_MEDIA_ROUTER_TEST_MEDIA_SINKS_OBSERVER_H_
#define CHROME_TEST_MEDIA_ROUTER_TEST_MEDIA_SINKS_OBSERVER_H_

namespace media_router {

class MediaRouter;
Expand Down

0 comments on commit 9dc4362

Please sign in to comment.