Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: chrome/browser/ui/webui/identity_internals_ui_browsertest.h

Issue 304793002: Support automatically resolving dependencies in javascript tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Various fixes. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_ 6 #define CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/test/base/web_ui_browsertest.h" 11 #include "chrome/test/base/web_ui_browser_test.h"
12 12
13 class IdentityInternalsUIBrowserTest : public WebUIBrowserTest { 13 class IdentityInternalsUIBrowserTest : public WebUIBrowserTest {
14 public: 14 public:
15 IdentityInternalsUIBrowserTest(); 15 IdentityInternalsUIBrowserTest();
16 virtual ~IdentityInternalsUIBrowserTest(); 16 virtual ~IdentityInternalsUIBrowserTest();
17 17
18 protected: 18 protected:
19 void SetupTokenCache(int number_of_tokens); 19 void SetupTokenCache(int number_of_tokens);
20 20
21 void SetupTokenCacheWithStoreApp(); 21 void SetupTokenCacheWithStoreApp();
22 22
23 private: 23 private:
24 void AddTokenToCache(const std::string token_id, 24 void AddTokenToCache(const std::string token_id,
25 const std::string extension_id, 25 const std::string extension_id,
26 const std::vector<std::string>& scopes, 26 const std::vector<std::string>& scopes,
27 int time_to_live); 27 int time_to_live);
28 28
29 DISALLOW_COPY_AND_ASSIGN(IdentityInternalsUIBrowserTest); 29 DISALLOW_COPY_AND_ASSIGN(IdentityInternalsUIBrowserTest);
30 }; 30 };
31 31
32 #endif // CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_ 32 #endif // CHROME_BROWSER_UI_WEBUI_IDENTITY_INTERNALS_UI_BROWSERTEST_H_
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698