#include "chrome/browser/ui/webui/segmentation_internals/segmentation_internals_page_handler_impl.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/segmentation_platform/public/proto/segmentation_platform.pb.h"
#include "components/segmentation_platform/public/testing/mock_segmentation_platform_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
_;
Invoke;
IsEmpty;
Return;
class MockPage : public segmentation_internals::mojom::Page { … };
constexpr char kTestKey1[] = …;
constexpr char kTestKey2[] = …;
std::vector<segmentation_platform::ServiceProxy::ClientInfo>
GetSampleClientInfos() { … }
}
class SegmentationInternalsPageHandlerImplTest : public testing::Test { … };
TEST_F(SegmentationInternalsPageHandlerImplTest, EmptyClientInfo) { … }
TEST_F(SegmentationInternalsPageHandlerImplTest, ClientInfoNotified) { … }