#include <memory>
#include "base/command_line.h"
#include "chrome/browser/extensions/api/mdns/mdns_api.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/media/router/test/mock_dns_sd_registry.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/test/browser_test.h"
#include "extensions/common/switches.h"
#include "extensions/test/result_catcher.h"
DnsSdRegistry;
_;
A;
api;
namespace {
class MDnsAPITest : public extensions::ExtensionApiTest { … };
}
IN_PROC_BROWSER_TEST_F(MDnsAPITest, RegisterListener) { … }
IN_PROC_BROWSER_TEST_F(MDnsAPITest, ForceDiscovery) { … }
IN_PROC_BROWSER_TEST_F(MDnsAPITest, RegisterMultipleListeners) { … }
IN_PROC_BROWSER_TEST_F(MDnsAPITest, RegisterTooManyListeners) { … }
IN_PROC_BROWSER_TEST_F(MDnsAPITest, MaxServiceInstancesPerEventConst) { … }