| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BLIMP_COMMON_GET_CLIENT_AUTH_TOKEN_H_ |
| 6 #define BLIMP_COMMON_GET_CLIENT_AUTH_TOKEN_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/command_line.h" |
| 11 #include "blimp/common/blimp_common_export.h" |
| 12 |
| 13 namespace blimp { |
| 14 |
| 15 // Gets the client auth token from the file provided by the command line. If |
| 16 // a read does not succeed, or the switch is malformed, an empty string |
| 17 // is returned. |
| 18 BLIMP_COMMON_EXPORT std::string GetClientAuthToken( |
| 19 const base::CommandLine& cmd_line); |
| 20 |
| 21 } // namespace blimp |
| 22 |
| 23 #endif // BLIMP_COMMON_GET_CLIENT_AUTH_TOKEN_H_ |
| OLD | NEW |