[Extensions] Cleanup Extension Uninstall Dialog logic
[chromium-blink-merge.git] / chrome / browser / ui / webui / identity_internals_ui_browsertest.h
blobc5cba6674d5246bf25ba763e76c3c6e59022b31a
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
8 #include <string>
9 #include <vector>
11 #include "chrome/test/base/web_ui_browser_test.h"
13 class IdentityInternalsUIBrowserTest : public WebUIBrowserTest {
14 public:
15 IdentityInternalsUIBrowserTest();
16 ~IdentityInternalsUIBrowserTest() override;
18 protected:
19 void SetupTokenCache(int number_of_tokens);
21 void SetupTokenCacheWithStoreApp();
23 private:
24 void AddTokenToCache(const std::string token_id,
25 const std::string extension_id,
26 const std::vector<std::string>& scopes,
27 int time_to_live);
29 DISALLOW_COPY_AND_ASSIGN(IdentityInternalsUIBrowserTest);
32 #endif // CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_