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

Unified Diff: chrome/browser/notifications/notification_browsertest.cc

Issue 11734018: Revert 174880 due to compilation error in pdf_browsertest.cc (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1374/src/
Patch Set: 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/net/load_timing_observer_browsertest.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification_browsertest.cc
===================================================================
--- chrome/browser/notifications/notification_browsertest.cc (revision 174946)
+++ chrome/browser/notifications/notification_browsertest.cc (working copy)
@@ -274,8 +274,8 @@
std::string result;
bool success = content::ExecuteJavaScriptAndExtractString(
browser->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
- "",
- script,
+ L"",
+ UTF8ToWide(script),
&result);
if (success && result != "-1" && wait_for_new_balloon)
success = observer.Wait();
@@ -301,8 +301,8 @@
std::string result;
bool success = content::ExecuteJavaScriptAndExtractString(
browser->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
- "",
- "requestPermission();",
+ L"",
+ L"requestPermission();",
&result);
if (!success || result != "1")
return false;
@@ -321,8 +321,8 @@
std::string result;
bool success = content::ExecuteJavaScriptAndExtractString(
browser->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
- "",
- script,
+ L"",
+ UTF8ToWide(script),
&result);
if (!success || result != "1")
return false;
@@ -414,8 +414,8 @@
bool result;
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
browser()->tab_strip_model()->GetActiveWebContents()->GetRenderViewHost(),
- "",
- "window.domAutomationController.send(request());",
+ L"",
+ L"window.domAutomationController.send(request());",
&result));
EXPECT_TRUE(result);
« no previous file with comments | « chrome/browser/net/load_timing_observer_browsertest.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698