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

Unified Diff: content/browser/webui/web_ui_mojo_browsertest.cc

Issue 215743002: Mojo: update web ui for the addition of connection.js and router.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
« no previous file with comments | « content/browser/webui/web_ui_data_source_impl.cc ('k') | content/content_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_mojo_browsertest.cc
diff --git a/content/browser/webui/web_ui_mojo_browsertest.cc b/content/browser/webui/web_ui_mojo_browsertest.cc
index 36ab3b781c7cd235a7ae6d432c1795675ea12a4e..ccef178546cee9dd0cf924f502001609a5df98ca 100644
--- a/content/browser/webui/web_ui_mojo_browsertest.cc
+++ b/content/browser/webui/web_ui_mojo_browsertest.cc
@@ -48,7 +48,10 @@ base::FilePath GetFilePathForJSResource(const std::string& path) {
bool GetResource(const std::string& id,
const WebUIDataSource::GotDataCallback& callback) {
// These are handled by the WebUIDataSource that AddMojoDataSource() creates.
- if (id == mojo::kCodecModuleName || id == mojo::kConnectorModuleName)
+ if (id == mojo::kCodecModuleName ||
+ id == mojo::kConnectionModuleName ||
+ id == mojo::kConnectorModuleName ||
+ id == mojo::kRouterModuleName)
return false;
std::string contents;
@@ -166,8 +169,7 @@ class WebUIMojoTest : public ContentBrowserTest {
// Loads a webui page that contains mojo bindings and verifies a message makes
// it from the browser to the page and back.
-// http://crbug.com/357308
-IN_PROC_BROWSER_TEST_F(WebUIMojoTest, DISABLED_EndToEnd) {
+IN_PROC_BROWSER_TEST_F(WebUIMojoTest, EndToEnd) {
// Currently there is no way to have a generated file included in the isolate
// files. If the bindings file doesn't exist assume we're on such a bot and
// pass.
« no previous file with comments | « content/browser/webui/web_ui_data_source_impl.cc ('k') | content/content_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698