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

Side by Side Diff: blimp/common/get_client_token.h

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: 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 unified diff | Download patch
OLDNEW
(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 {
Kevin M 2016/05/10 18:06:35 newline after open brace
CJ 2016/05/10 20:58:06 Done.
14 // Gets the client token from the file provided by the command line. If a read
15 // does not succeed, or the switch is malformed, an empty string is returned.
16 BLIMP_COMMON_EXPORT std::string GetClientToken(
17 const base::CommandLine& cmd_line);
18
19 } // namespace blimp
20
21 #endif // BLIMP_COMMON_GET_CLIENT_TOKEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698