#include "chrome/browser/metrics/tab_stats/tab_stats_data_store.h"
#include <memory>
#include "chrome/browser/metrics/tab_stats/tab_stats_tracker.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "content/public/browser/visibility.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace metrics {
namespace {
TabsStats;
class TabStatsDataStoreTest : public ChromeRenderViewHostTestHarness { … };
}
TEST_F(TabStatsDataStoreTest, TabStatsGetsReloadedFromLocalState) { … }
TEST_F(TabStatsDataStoreTest, DiscardsFromLocalState) { … }
}