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

Unified Diff: chrome/browser/ui/webui/bookmarks_ui_browsertest.cc

Issue 11728003: Change ExecuteJavaScript* helper functions in browser_test_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding files for gpu_tests and NaCl browser tests. Created 7 years, 12 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 | « chrome/browser/ui/panels/panel_browsertest.cc ('k') | chrome/browser/ui/webui/inspect_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/bookmarks_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/bookmarks_ui_browsertest.cc b/chrome/browser/ui/webui/bookmarks_ui_browsertest.cc
index 85cbf74c722ce690c24fd82f8b4eff2b3e559413..310fddd3522234de34426be1bcc1f9cc2b68e142 100644
--- a/chrome/browser/ui/webui/bookmarks_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/bookmarks_ui_browsertest.cc
@@ -33,12 +33,16 @@ class BookmarksTest : public InProcessBrowserTest {
GURL url;
std::string out;
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractString(
- tab->GetRenderViewHost(), L"",
- L"domAutomationController.send(location.protocol)", &out));
+ tab->GetRenderViewHost(),
+ "",
+ "domAutomationController.send(location.protocol)",
+ &out));
ASSERT_EQ("chrome-extension:", out);
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractString(
- tab->GetRenderViewHost(), L"",
- L"domAutomationController.send(location.pathname)", &out));
+ tab->GetRenderViewHost(),
+ "",
+ "domAutomationController.send(location.pathname)",
+ &out));
ASSERT_EQ("/main.html", out);
}
};
« no previous file with comments | « chrome/browser/ui/panels/panel_browsertest.cc ('k') | chrome/browser/ui/webui/inspect_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698