| Index: components/sync/base/weak_handle.h
|
| diff --git a/components/sync/base/weak_handle.h b/components/sync/base/weak_handle.h
|
| index 4c326703c51a52b889af836187ee9aff62ac1181..5db9810c7b4fa5b4edcdf80c3fa163bfd2cf21a7 100644
|
| --- a/components/sync/base/weak_handle.h
|
| +++ b/components/sync/base/weak_handle.h
|
| @@ -2,6 +2,22 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#ifndef COMPONENTS_SYNC_BASE_WEAK_HANDLE_H_
|
| +#define COMPONENTS_SYNC_BASE_WEAK_HANDLE_H_
|
| +
|
| +#include <cstddef>
|
| +#include <utility>
|
| +
|
| +#include "base/bind.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "base/gtest_prod_util.h"
|
| +#include "base/location.h"
|
| +#include "base/logging.h"
|
| +#include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/memory/weak_ptr.h"
|
| +#include "base/single_thread_task_runner.h"
|
| +
|
| // Weak handles provides a way to refer to weak pointers from another
|
| // thread. This is useful because it is not safe to reference a weak
|
| // pointer from a thread other than the thread on which it was
|
| @@ -44,22 +60,6 @@
|
| // void OnIOError(IOError err) { DCHECK(CalledOnValidThread(); ... }
|
| // };
|
|
|
| -#ifndef COMPONENTS_SYNC_BASE_WEAK_HANDLE_H_
|
| -#define COMPONENTS_SYNC_BASE_WEAK_HANDLE_H_
|
| -
|
| -#include <cstddef>
|
| -#include <utility>
|
| -
|
| -#include "base/bind.h"
|
| -#include "base/compiler_specific.h"
|
| -#include "base/gtest_prod_util.h"
|
| -#include "base/location.h"
|
| -#include "base/logging.h"
|
| -#include "base/macros.h"
|
| -#include "base/memory/ref_counted.h"
|
| -#include "base/memory/weak_ptr.h"
|
| -#include "base/single_thread_task_runner.h"
|
| -
|
| namespace tracked_objects {
|
| class Location;
|
| } // namespace tracked_objects
|
|
|