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

Unified Diff: blimp/engine/browser_tests/blimp_browser_test.cc

Issue 2281783002: Changes client_token to be client_auth_token. (Closed)
Patch Set: Linting. Created 4 years, 3 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 | « blimp/engine/app/blimp_engine_config_unittest.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/browser_tests/blimp_browser_test.cc
diff --git a/blimp/engine/browser_tests/blimp_browser_test.cc b/blimp/engine/browser_tests/blimp_browser_test.cc
index 830511c358de2eaa07f9abea2624c98c1b720c7f..4da8f88c2a510310f0295279641449dce6508f63 100644
--- a/blimp/engine/browser_tests/blimp_browser_test.cc
+++ b/blimp/engine/browser_tests/blimp_browser_test.cc
@@ -30,8 +30,8 @@
namespace blimp {
namespace {
const char kTestDataFilePath[] = "blimp/test/data";
-const char kClientTokenFilePath[] = "blimp/test/data/test_client_token";
-const char kClientToken[] = "MyVoiceIsMyPassport";
+const char kClientAuthTokenFilePath[] = "blimp/test/data/test_client_token";
+const char kClientAuthToken[] = "MyVoiceIsMyPassport";
} // namespace
@@ -70,7 +70,7 @@ engine::BlimpEngineSession* BlimpBrowserTest::GetEngineSession() {
client::Assignment BlimpBrowserTest::GetAssignment() {
client::Assignment assignment;
- assignment.client_token = kClientToken;
+ assignment.client_auth_token = kClientAuthToken;
assignment.engine_endpoint =
net::IPEndPoint(net::IPAddress::IPv4Localhost(), engine_port_);
assignment.transport_protocol = client::Assignment::TransportProtocol::TCP;
@@ -89,8 +89,8 @@ void BlimpBrowserTest::SetUpCommandLine(base::CommandLine* command_line) {
base::FilePath src_root;
PathService::Get(base::DIR_SOURCE_ROOT, &src_root);
- command_line->AppendSwitchASCII(kClientTokenPath,
- src_root.Append(kClientTokenFilePath).value());
+ command_line->AppendSwitchASCII(
+ kClientAuthTokenPath, src_root.Append(kClientAuthTokenFilePath).value());
}
void BlimpBrowserTest::SetUpOnMainThread() {
« no previous file with comments | « blimp/engine/app/blimp_engine_config_unittest.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698