Chromium Code Reviews
DescriptionAllows client to access auth token from command line specified file.
This change allows the client obtain the auth token from the file specified on
the command line just as the server does. Because the functionality would be
very similar, this was pulled out and placed in the common directory.
This allows the code to move away from a hard-coded auth token, and gives the
developer the freedom to specify the auth token, as one has the power to do now
on the server.
Other changes:
* Moved code from blimp_engine_config_unittest.cc into fake_commandline.cc and
fake_commandline.h to make fake command line functionality accessible to both
client and server code.
* Updated blimp_engine_config_unittest.cc and assignment_source_unittest.cc to
use fake_commandline.cc functionality to create fake command lines.
* Updated blimp_browser_test.cc to use get_client_token:GetClientToken() to
maintain consistency.
BUG=610398
Committed: https://crrev.com/f16b3ac745768029718fbbc7cd288453677e49e8
Cr-Commit-Position: refs/heads/master@{#393890}
Patch Set 1 #
Total comments: 37
Patch Set 2 : addressed kmarshall's comments #
Total comments: 19
Patch Set 3 : Addresses marshallk's comments on assignment_source_unittest.cc #Patch Set 4 : Fixes include #Patch Set 5 : Unaddressed comment fixed for assignment_source_unittest.cc #Patch Set 6 : Addresses the rest of kmarshall's #7 comments #
Total comments: 4
Patch Set 7 : Addresses kmarshall's #12 comments #Patch Set 8 : Fixes errors #Patch Set 9 : Fixes analyze #Patch Set 10 : Adds data dependancy to BUILD #Patch Set 11 : Adds documentation #
Messages
Total messages: 51 (23 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||