webrtc/rtc_base/numerics
Danil Chapovalov 0a1d189e50 Replace rtc::Optional with absl::optional in rtc_base
This is a no-op change because rtc::Optional is an alias to absl::optional

This CL generated by running script with parameter 'rtc_base'
Then manually fix where Optional was used without rtc prefix (patchset#3)

find $@ -type f \( -name \*.h -o -name \*.cc \) \
-exec sed -i 's|rtc::Optional|absl::optional|g' {} \+ \
-exec sed -i 's|rtc::nullopt|absl::nullopt|g' {} \+ \
-exec sed -i 's|#include "api/optional.h"|#include "absl/types/optional.h"|' {} \+

find $@ -type f -name BUILD.gn \
-exec sed -r -i 's|"[\./api]*:optional"|"//third_party/abseil-cpp/absl/types:optional"|' {} \+;

git cl format

Bug: webrtc:9078
Change-Id: I825f80cc8089747876ba6316d9e7c30e05716974
Reviewed-on: https://webrtc-review.googlesource.com/84585
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23700}
2018-06-21 11:23:40 +00:00
..
exp_filter.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
exp_filter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
exp_filter_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
histogram_percentile_counter.cc Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
histogram_percentile_counter.h Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
histogram_percentile_counter_unittest.cc Move some more numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 12:39:39 +00:00
mathutils.h Move some more numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 12:39:39 +00:00
mod_ops.h Move some more numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 12:39:39 +00:00
mod_ops_unittest.cc Move some more numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 12:39:39 +00:00
moving_max_counter.h Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
moving_max_counter_unittest.cc Optional: Use nullopt and implicit construction in /rtc_base 2017-11-27 10:17:52 +00:00
moving_median_filter.h Refactor RtpToNtpEstimator and MovingMedianFilter 2017-11-14 10:34:56 +00:00
moving_median_filter_unittest.cc Add MovingMedianFilter to rtc_base/numerics 2017-11-01 13:56:16 +00:00
percentile_filter.h Refactor RtpToNtpEstimator and MovingMedianFilter 2017-11-14 10:34:56 +00:00
percentile_filter_unittest.cc Stop using std::random_shuffle in favor of std::shuffle. 2018-01-10 07:37:11 +00:00
safe_compare.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_compare_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_conversions.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_conversions_impl.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_minmax.h Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
safe_minmax_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
sample_counter.cc Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
sample_counter.h Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
sample_counter_unittest.cc Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
sequence_number_util.h Replace rtc::Optional with absl::optional in rtc_base 2018-06-21 11:23:40 +00:00
sequence_number_util_unittest.cc Move sequence_number_utils.h to rtc_base/ 2017-10-25 12:33:57 +00:00