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); |
} |
}; |