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

Unified Diff: chrome/test/ui/named_interface_uitest.cc

Issue 7486007: Fix NamedProxyLauncher on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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/test/automation/proxy_launcher.cc ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/named_interface_uitest.cc
diff --git a/chrome/test/ui/named_interface_uitest.cc b/chrome/test/ui/named_interface_uitest.cc
index 0c60cea9e3ba4d57f6418144edffb7376ebd6456..3401f71657b10cd62836a33104dd65f043cffb44 100644
--- a/chrome/test/ui/named_interface_uitest.cc
+++ b/chrome/test/ui/named_interface_uitest.cc
@@ -21,13 +21,13 @@ class NamedInterfaceTest : public UITest {
}
virtual ProxyLauncher *CreateProxyLauncher() {
- CommandLine::StringType channel_path =
- CommandLine::ForCurrentProcess()->GetSwitchValueNative(
+ std::string channel_id =
+ CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kTestingChannel);
- if (channel_path.empty())
- channel_path = ProxyLauncher::kDefaultInterfacePath;
+ if (channel_id.empty())
+ channel_id = ProxyLauncher::kDefaultInterfaceId;
- return new NamedProxyLauncher(channel_path, true, true);
+ return new NamedProxyLauncher(channel_id, true, true);
}
};
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | ipc/ipc_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698