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

Unified Diff: blimp/common/create_blimp_message_unittest.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/common/create_blimp_message.cc ('k') | blimp/common/get_client_auth_token.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/create_blimp_message_unittest.cc
diff --git a/blimp/common/create_blimp_message_unittest.cc b/blimp/common/create_blimp_message_unittest.cc
index 74dd885ae427f35316583e72bbe1dd2e36631f1c..94a3ba9589464200f2dea1a9b7e1ba893fc73923 100644
--- a/blimp/common/create_blimp_message_unittest.cc
+++ b/blimp/common/create_blimp_message_unittest.cc
@@ -72,15 +72,15 @@ TEST(CreateBlimpMessageTest, EngineSettingsMessage) {
}
TEST(CreateBlimpMessageTest, StartConnectionMessage) {
- const char* client_token = "token";
+ const char* client_auth_token = "token";
const int protocol_version = 1;
std::unique_ptr<BlimpMessage> message =
- CreateStartConnectionMessage(client_token, protocol_version);
+ CreateStartConnectionMessage(client_auth_token, protocol_version);
EXPECT_EQ(BlimpMessage::kProtocolControl, message->feature_case());
EXPECT_EQ(ProtocolControlMessage::kStartConnection,
message->protocol_control().connection_message_case());
- EXPECT_EQ(client_token,
- message->protocol_control().start_connection().client_token());
+ EXPECT_EQ(client_auth_token,
+ message->protocol_control().start_connection().client_auth_token());
EXPECT_EQ(protocol_version,
message->protocol_control().start_connection().protocol_version());
}
« no previous file with comments | « blimp/common/create_blimp_message.cc ('k') | blimp/common/get_client_auth_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698