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

Unified Diff: chrome/browser/extensions/api/identity/identity_apitest.cc

Issue 9839105: Expand usage of platform-apps flag and permission features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/identity/identity_apitest.cc
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc
index 334c8848ed44d0a140ea612ea8b5e70c1d83ce2b..3c745f6cfc90fe225a7d650177b53f57ff6b4ab7 100644
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc
@@ -28,15 +28,13 @@ class IdentityInterceptor : public OAuth2MintTokenFlow::InterceptorForTests {
} // namespace
-class ExperimentalApiTest : public ExtensionApiTest {
- public:
- void SetUpCommandLine(CommandLine* command_line) {
- ExtensionApiTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(switches::kEnablePlatformApps);
- command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
- }
+class ExperimentalApiTest : public PlatformAppApiTest {
};
+IN_PROC_BROWSER_TEST_F(ExperimentalApiTest, VerifyPermissions) {
+ VerifyPermissions(test_data_dir_.AppendASCII("identity"));
+}
+
IN_PROC_BROWSER_TEST_F(ExperimentalApiTest, Identity) {
IdentityInterceptor interceptor;
OAuth2MintTokenFlow::SetInterceptorForTests(&interceptor);

Powered by Google App Engine
This is Rietveld 408576698