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

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: ... Created 9 years, 5 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
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);
}
};

Powered by Google App Engine
This is Rietveld 408576698