#include "chrome/browser/ui/webui/identity_internals_ui_browsertest.h"
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "chrome/browser/extensions/api/identity/extension_token_key.h"
#include "chrome/browser/extensions/api/identity/identity_api.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
namespace {
const char kChromeWebStoreId[] = …;
const int kOneHour = …;
}
IdentityInternalsUIBrowserTest::IdentityInternalsUIBrowserTest() { … }
IdentityInternalsUIBrowserTest::~IdentityInternalsUIBrowserTest() { … }
void IdentityInternalsUIBrowserTest::SetupTokenCache(int number_of_tokens) { … }
void IdentityInternalsUIBrowserTest::SetupTokenCacheWithStoreApp() { … }
void IdentityInternalsUIBrowserTest::AddTokenToCache(
const std::string& token_id,
const std::string& extension_id,
const std::string& gaia_id,
const std::vector<std::string>& scopes,
int time_to_live) { … }