| // Copyright 2019 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. |
| |
| #if defined(__clang__) |
| #pragma clang diagnostic push |
| #pragma clang diagnostic ignored "-Wunused-private-field" |
| #elif defined(_MSC_VER) |
| #pragma warning(push) |
| #pragma warning(disable:4056) |
| #pragma warning(disable:4065) |
| #pragma warning(disable:4756) |
| #endif |
| |
| |
| #include "content/common/field_trial_recorder.mojom-test-utils.h" |
| |
| #include <utility> |
| |
| #include "base/bind.h" |
| #include "base/run_loop.h" |
| |
| |
| #ifndef CONTENT_COMMON_FIELD_TRIAL_RECORDER_MOJOM_JUMBO_H_ |
| #define CONTENT_COMMON_FIELD_TRIAL_RECORDER_MOJOM_JUMBO_H_ |
| #endif |
| |
| |
| namespace content { |
| namespace mojom { |
| |
| |
| void FieldTrialRecorderInterceptorForTesting::FieldTrialActivated(const std::string& trial_name) { |
| GetForwardingInterface()->FieldTrialActivated(std::move(trial_name)); |
| } |
| FieldTrialRecorderAsyncWaiter::FieldTrialRecorderAsyncWaiter( |
| FieldTrialRecorder* proxy) : proxy_(proxy) {} |
| |
| FieldTrialRecorderAsyncWaiter::~FieldTrialRecorderAsyncWaiter() = default; |
| |
| |
| |
| |
| |
| |
| } // namespace mojom |
| } // namespace content |
| |
| #if defined(__clang__) |
| #pragma clang diagnostic pop |
| #elif defined(_MSC_VER) |
| #pragma warning(pop) |
| #endif |