#include "chrome/browser/ui/webui/webui_load_timer.h"
#include "base/run_loop.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/prerender_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
const char kTestUrl[] = …;
const char kDocumentInitialLoadUmaId[] = …;
const char kDocumentLoadCompletedUmaId[] = …;
}
WebuiLoadTimerTest;
IN_PROC_BROWSER_TEST_F(WebuiLoadTimerTest, Timers) { … }
class WebuiLoadTimerPrerenderTest : public WebuiLoadTimerTest { … };
IN_PROC_BROWSER_TEST_F(WebuiLoadTimerPrerenderTest,
TimersOnPrerenderNavigation) { … }