#include "chrome/browser/extensions/error_console/error_console_test_observer.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
namespace extensions {
ErrorConsoleTestObserver::ErrorConsoleTestObserver(size_t errors_expected,
Profile* profile)
: … { … }
ErrorConsoleTestObserver::~ErrorConsoleTestObserver() = default;
void ErrorConsoleTestObserver::EnableErrorCollection() { … }
void ErrorConsoleTestObserver::OnErrorAdded(const ExtensionError* error) { … }
void ErrorConsoleTestObserver::WaitForErrors() { … }
}