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

Unified Diff: chrome/browser/extensions/extension_apitest.h

Issue 859213006: Cancel client auth requests when not promptable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-auth-cancel-1
Patch Set: fix test Created 5 years, 10 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/extension_apitest.h
diff --git a/chrome/browser/extensions/extension_apitest.h b/chrome/browser/extensions/extension_apitest.h
index 6717cbb8ba16dd40e4782803bbfa3af6f9066c32..873cf7f6905c8da7f5cb4d8a2c1b6d979e7592f4 100644
--- a/chrome/browser/extensions/extension_apitest.h
+++ b/chrome/browser/extensions/extension_apitest.h
@@ -106,6 +106,11 @@ class ExtensionApiTest : public ExtensionBrowserTest {
const std::string& page_url,
int flags);
+ // Same as RunExtensionSubtest, but with a custom argument.
+ bool RunExtensionSubtestWithArg(const std::string& extension_name,
+ const std::string& page_url,
+ const char* custom_arg);
asargent_no_longer_on_chrome 2015/03/03 00:10:30 A better to do this instead of adding a new method
davidben 2015/03/05 20:01:52 Done. (I just snuck the custom arg through the URL
+
// Load |page_url| and wait for pass / fail notification from the extension
// API on the page.
bool RunPageTest(const std::string& page_url);

Powered by Google App Engine
This is Rietveld 408576698