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

Side by Side Diff: google_apis/google_api_keys.h

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « google_apis/gaia/oauth_request_signer_unittest.cc ('k') | google_apis/google_api_keys.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_NET_GOOGLE_APIS_GOOGLE_API_KEYS_H_ 5 #ifndef GOOGLE_APIS_GOOGLE_API_KEYS_H_
6 #define CHROME_COMMON_NET_GOOGLE_APIS_GOOGLE_API_KEYS_H_ 6 #define GOOGLE_APIS_GOOGLE_API_KEYS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 // These functions enable you to retrieve keys to use for Google APIs 10 // These functions enable you to retrieve keys to use for Google APIs
11 // such as Translate and Safe Browsing. 11 // such as Translate and Safe Browsing.
12 // 12 //
13 // You can retrieve either an "API key" (sometimes called a developer 13 // You can retrieve either an "API key" (sometimes called a developer
14 // key) which identifies you (or the company you work for) as a 14 // key) which identifies you (or the company you work for) as a
15 // developer, or you can retrieve the "client ID" and "client secret" 15 // developer, or you can retrieve the "client ID" and "client secret"
16 // used by you (or the company you work for) to generate OAuth2 16 // used by you (or the company you work for) to generate OAuth2
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // Retrieves the OAuth2 client secret for the specified client, or the 80 // Retrieves the OAuth2 client secret for the specified client, or the
81 // empty string if not set. 81 // empty string if not set.
82 // 82 //
83 // Note that the secret should be escaped for the context you use it 83 // Note that the secret should be escaped for the context you use it
84 // in, e.g. URL-escaped if you use it in a URL. 84 // in, e.g. URL-escaped if you use it in a URL.
85 std::string GetOAuth2ClientSecret(OAuth2Client client); 85 std::string GetOAuth2ClientSecret(OAuth2Client client);
86 86
87 } // namespace google_apis 87 } // namespace google_apis
88 88
89 #endif // CHROME_COMMON_NET_GOOGLE_APIS_GOOGLE_API_KEYS_H_ 89 #endif // GOOGLE_APIS_GOOGLE_API_KEYS_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth_request_signer_unittest.cc ('k') | google_apis/google_api_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698