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 6f94722a690c1511139d9580eacfd52f7b88c89b..b839f071801b55c55980de5d3f5f6d0934b4dd79 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); |
} |
}; |