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

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

Issue 1958033003: Allows client to access auth token from command line specified file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed kmarshall's comments Created 4 years, 7 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
« blimp/engine/app/ui/blimp_screen_unittest.cc ('K') | « blimp/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/test/browser_tests/blimp_browser_test.cc
diff --git a/blimp/test/browser_tests/blimp_browser_test.cc b/blimp/test/browser_tests/blimp_browser_test.cc
index 7c0ea5295e53c1ee74c7a28a6b9cad8d5017d0e3..60597e9be147bc034ec204c91d99604fbc3e3847 100644
--- a/blimp/test/browser_tests/blimp_browser_test.cc
+++ b/blimp/test/browser_tests/blimp_browser_test.cc
@@ -14,10 +14,11 @@
#include "base/run_loop.h"
#include "blimp/client/app/blimp_client_switches.h"
#include "blimp/client/session/assignment_source.h"
+#include "blimp/common/get_client_token.h"
+#include "blimp/common/switches.h"
#include "blimp/engine/app/blimp_browser_main_parts.h"
#include "blimp/engine/app/blimp_content_browser_client.h"
#include "blimp/engine/app/blimp_engine_config.h"
-#include "blimp/engine/app/switches.h"
#include "blimp/engine/app/test_content_main_delegate.h"
#include "blimp/engine/session/blimp_engine_session.h"
#include "content/public/browser/browser_thread.h"
@@ -59,7 +60,7 @@ void BlimpBrowserTest::OnGetEnginePort(uint16_t port) {
client::Assignment BlimpBrowserTest::GetAssignment() {
client::Assignment assignment;
- assignment.client_token = client::kDummyClientToken;
+ assignment.client_token = GetClientToken(command_line);
assignment.engine_endpoint =
net::IPEndPoint(net::IPAddress::IPv4Localhost(), engine_port_);
assignment.transport_protocol = client::Assignment::TransportProtocol::TCP;
« blimp/engine/app/ui/blimp_screen_unittest.cc ('K') | « blimp/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698