#include <string>
#include "base/run_loop.h"
#include "base/values.h"
#include "chrome/browser/media/webrtc/webrtc_log_uploader.h"
#include "chrome/browser/media/webrtc/webrtc_logging_controller.h"
#include "chrome/browser/policy/policy_test_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/pref_names.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
#include "components/user_prefs/user_prefs.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
class WebRtcTextLogCollectionAllowedPolicyTest : public policy::PolicyTest { … };
IN_PROC_BROWSER_TEST_F(WebRtcTextLogCollectionAllowedPolicyTest,
RunDisabledUploadLogTest) { … }
IN_PROC_BROWSER_TEST_F(WebRtcTextLogCollectionAllowedPolicyTest,
RunUploadStoredLogTest) { … }
IN_PROC_BROWSER_TEST_F(WebRtcTextLogCollectionAllowedPolicyTest,
UploadLogBeforeLoggingStopped) { … }