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

Unified Diff: components/sync/base/weak_handle.h

Issue 2425673003: [Sync] Moved down comments directly following copyright. (Closed)
Patch Set: Updates for Max. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/base/time.h ('k') | components/sync/driver/sync_driver_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/sync/base/time.h ('k') | components/sync/driver/sync_driver_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698