1 // Copyright (c) 2010 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. 4 5 #include "chrome/browser/extensions/extension_apitest.h" 6 7 class ExtensionModuleApiTest : public ExtensionApiTest { 8 }; 9 10 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest, CognitoFile) { 11 ASSERT_TRUE(RunExtensionTest("extension_module/cognito_file")) << message_; 12 } 13 14 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest, IncognitoFile) { 15 ASSERT_TRUE(RunExtensionTestIncognito( 16 "extension_module/incognito_file")) << message_; 17 } 18 19 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest, CognitoNoFile) { 20 ASSERT_TRUE(RunExtensionTestNoFileAccess( 21 "extension_module/cognito_nofile")) << message_; 22 } 23 24 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest, IncognitoNoFile) { 25 ASSERT_TRUE(RunExtensionTestIncognitoNoFileAccess( 26 "extension_module/incognito_nofile")) << message_; 27 } 28