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

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

Issue 2449913002: Support WebSocket in WebRequest API. (Closed)
Patch Set: git cl format Created 3 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 5c8a90be7233e174fde42ce7c504f228ebf5a8af..09a44f65a867c37907cde6229cd359b9ec8c022c 100644
--- a/chrome/browser/extensions/extension_apitest.h
+++ b/chrome/browser/extensions/extension_apitest.h
@@ -172,8 +172,9 @@ class ExtensionApiTest : public ExtensionBrowserTest {
// Start the test WebSocket server, and store details of its state. Those
// details will be available to javascript tests using
- // chrome.test.getConfig().
- bool StartWebSocketServer(const base::FilePath& root_directory);
+ // chrome.test.getConfig(). Enable HTTP basic authentication if needed.
+ bool StartWebSocketServer(const base::FilePath& root_directory,
+ bool enable_basic_auth = false);
// Start the test FTP server, and store details of its state. Those
// details will be available to JavaScript tests using
« no previous file with comments | « chrome/browser/extensions/api/web_request/web_request_apitest.cc ('k') | chrome/browser/extensions/extension_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698