| 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_TOKEN_H_ |
| 6 #define BLIMP_COMMON_GET_CLIENT_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 token from the file provided by the command line. If a read |
| 16 // does not succeed, or the switch is malformed, an empty string is returned. |
| 17 BLIMP_COMMON_EXPORT std::string GetClientToken( |
| 18 const base::CommandLine& cmd_line); |
| 19 |
| 20 } // namespace blimp |
| 21 |
| 22 #endif // BLIMP_COMMON_GET_CLIENT_TOKEN_H_ |
| OLD | NEW |