Home
last modified time | relevance | path

Searched refs:mock_prompt (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dcrx_installer_browsertest.cc225 scoped_refptr<MockPromptProxy> mock_prompt = in CheckHasEmptyScopesAfterInstall() local
228 mock_prompt->set_record_oauth2_grant(record_oauth2_grant); in CheckHasEmptyScopesAfterInstall()
229 InstallWithPrompt("browsertest/scopes", std::string(), mock_prompt); in CheckHasEmptyScopesAfterInstall()
233 ->GetGrantedPermissions(mock_prompt->extension_id()); in CheckHasEmptyScopesAfterInstall()
247 scoped_refptr<MockPromptProxy> mock_prompt = in IN_PROC_BROWSER_TEST_F() local
249 InstallWithPrompt("uitest/plugins", id, mock_prompt); in IN_PROC_BROWSER_TEST_F()
250 EXPECT_FALSE(mock_prompt->confirmation_requested()); in IN_PROC_BROWSER_TEST_F()
294 scoped_refptr<MockPromptProxy> mock_prompt = in IN_PROC_BROWSER_TEST_F() local
297 mock_prompt->CreatePrompt()); in IN_PROC_BROWSER_TEST_F()
314 EXPECT_TRUE(mock_prompt->confirmation_requested()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/download/
Ddownload_crx_util.cc68 scoped_ptr<ExtensionInstallPrompt> mock_prompt) { in SetMockInstallPromptForTesting() argument
69 mock_install_prompt_for_testing = mock_prompt.release(); in SetMockInstallPromptForTesting()
Ddownload_crx_util.h31 scoped_ptr<ExtensionInstallPrompt> mock_prompt);