#include "chrome/browser/ui/performance_controls/tab_resource_usage_collector.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/performance_controls/tab_resource_usage_tab_helper.h"
#include "chrome/browser/ui/performance_controls/test_support/resource_usage_collector_observer.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "content/public/test/browser_test.h"
#include "net/dns/mock_host_resolver.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
class TabResourceUsageCollectorBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(TabResourceUsageCollectorBrowserTest,
RefreshAllTabMemory) { … }
IN_PROC_BROWSER_TEST_F(TabResourceUsageCollectorBrowserTest,
RefreshMemoryForOneWebContents) { … }