summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrace Cham <hscham@google.com>2023-01-25 17:01:37 +0900
committerGrace Cham <hscham@google.com>2023-01-27 15:15:41 +0900
commit57f727b567b5eed80427cdb3b5526dbbb4a32f6b (patch)
treea50626055ff02522fd209d0174d16251c8a8b02f
parent799ae1505ab2da2e2cce18ffa14538f6507d3927 (diff)
downloadlibchrome-57f727b567b5eed80427cdb3b5526dbbb4a32f6b.tar.gz
libchrome: add base/functional/* headers
For forward compatibility with r1093705 libchrome where base/{bind.h, callback.h, callback_forward.h, callback_helpers.h} are moved to base/functional/. This makes migration in CrOS easier on client packages shared with Android. Bug: 266161904 Test: presubmit Change-Id: I7622eb821d5a7b97f37a725b0b860cebd0e99e9a
-rw-r--r--base/functional/bind.h13
-rw-r--r--base/functional/callback.h13
-rw-r--r--base/functional/callback_forward.h13
-rw-r--r--base/functional/callback_helpers.h13
4 files changed, 52 insertions, 0 deletions
diff --git a/base/functional/bind.h b/base/functional/bind.h
new file mode 100644
index 0000000000..155f1efb1e
--- /dev/null
+++ b/base/functional/bind.h
@@ -0,0 +1,13 @@
+// Copyright 2023 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.
+
+// For forward compatibility: r1093705 libchrome moved base/bind.h to
+// base/functional/.
+
+#ifndef BASE_FUNCTIONAL_BIND_H_
+#define BASE_FUNCTIONAL_BIND_H_
+
+#include <base/bind.h>
+
+#endif // BASE_FUNCTIONAL_BIND_H_
diff --git a/base/functional/callback.h b/base/functional/callback.h
new file mode 100644
index 0000000000..5ef051bf87
--- /dev/null
+++ b/base/functional/callback.h
@@ -0,0 +1,13 @@
+// Copyright 2023 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.
+
+// For forward compatibility: r1093705 libchrome moved base/callback.h to
+// base/functional/.
+
+#ifndef BASE_FUNCTIONAL_CALLBACK_H_
+#define BASE_FUNCTIONAL_CALLBACK_H_
+
+#include <base/callback.h>
+
+#endif // BASE_FUNCTIONAL_CALLBACK_H_
diff --git a/base/functional/callback_forward.h b/base/functional/callback_forward.h
new file mode 100644
index 0000000000..8c833acb4b
--- /dev/null
+++ b/base/functional/callback_forward.h
@@ -0,0 +1,13 @@
+// Copyright 2023 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.
+
+// For forward compatibility: r1093705 libchrome moved base/callback_forward.h
+// to base/functional/.
+
+#ifndef BASE_FUNCTIONAL_CALLBACK_FORWARD_H_
+#define BASE_FUNCTIONAL_CALLBACK_FORWARD_H_
+
+#include <base/callback_forward.h>
+
+#endif // BASE_FUNCTIONAL_CALLBACK_FORWARD_H_
diff --git a/base/functional/callback_helpers.h b/base/functional/callback_helpers.h
new file mode 100644
index 0000000000..63f3a18e83
--- /dev/null
+++ b/base/functional/callback_helpers.h
@@ -0,0 +1,13 @@
+// Copyright 2023 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.
+
+// For forward compatibility: r1093705 libchrome moved base/callback_helpers.h
+// to base/functional/.
+
+#ifndef BASE_FUNCTIONAL_CALLBACK_HELPERS_H_
+#define BASE_FUNCTIONAL_CALLBACK_HELPERS_H_
+
+#include <base/callback_helpers.h>
+
+#endif // BASE_FUNCTIONAL_CALLBACK_HELPERS_H_