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

Side by Side Diff: chrome/common/net/gaia/gaia_urls.h

Issue 9549013: Add code to mint OAuth tokens from login-scoped OAuth token. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « chrome/chrome_tests.gypi ('k') | chrome/common/net/gaia/gaia_urls.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GAIA_GAIA_URLS_H_ 5 #ifndef CHROME_COMMON_NET_GAIA_GAIA_URLS_H_
6 #define CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ 6 #define CHROME_COMMON_NET_GAIA_GAIA_URLS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 20 matching lines...) Expand all
31 const std::string& oauth_revoke_token_url(); 31 const std::string& oauth_revoke_token_url();
32 const std::string& oauth1_login_url(); 32 const std::string& oauth1_login_url();
33 33
34 const std::string& oauth1_login_scope(); 34 const std::string& oauth1_login_scope();
35 const std::string& oauth_wrap_bridge_user_info_scope(); 35 const std::string& oauth_wrap_bridge_user_info_scope();
36 36
37 const std::string& oauth2_chrome_client_id(); 37 const std::string& oauth2_chrome_client_id();
38 const std::string& oauth2_chrome_client_secret(); 38 const std::string& oauth2_chrome_client_secret();
39 const std::string& client_login_to_oauth2_url(); 39 const std::string& client_login_to_oauth2_url();
40 const std::string& oauth2_token_url(); 40 const std::string& oauth2_token_url();
41 const std::string& oauth2_issue_token_url();
41 42
42 private: 43 private:
43 GaiaUrls(); 44 GaiaUrls();
44 ~GaiaUrls(); 45 ~GaiaUrls();
45 46
46 friend struct DefaultSingletonTraits<GaiaUrls>; 47 friend struct DefaultSingletonTraits<GaiaUrls>;
47 48
48 std::string captcha_url_prefix_; 49 std::string captcha_url_prefix_;
49 50
50 std::string gaia_origin_url_; 51 std::string gaia_origin_url_;
51 std::string client_login_url_; 52 std::string client_login_url_;
52 std::string issue_auth_token_url_; 53 std::string issue_auth_token_url_;
53 std::string get_user_info_url_; 54 std::string get_user_info_url_;
54 std::string token_auth_url_; 55 std::string token_auth_url_;
55 std::string merge_session_url_; 56 std::string merge_session_url_;
56 std::string get_oauth_token_url_; 57 std::string get_oauth_token_url_;
57 std::string oauth_get_access_token_url_; 58 std::string oauth_get_access_token_url_;
58 std::string oauth_wrap_bridge_url_; 59 std::string oauth_wrap_bridge_url_;
59 std::string oauth_user_info_url_; 60 std::string oauth_user_info_url_;
60 std::string oauth_revoke_token_url_; 61 std::string oauth_revoke_token_url_;
61 std::string oauth1_login_url_; 62 std::string oauth1_login_url_;
62 63
63 std::string oauth1_login_scope_; 64 std::string oauth1_login_scope_;
64 std::string oauth_wrap_bridge_user_info_scope_; 65 std::string oauth_wrap_bridge_user_info_scope_;
65 66
66 std::string oauth2_chrome_client_id_; 67 std::string oauth2_chrome_client_id_;
67 std::string oauth2_chrome_client_secret_; 68 std::string oauth2_chrome_client_secret_;
68 std::string client_login_to_oauth2_url_; 69 std::string client_login_to_oauth2_url_;
69 std::string oauth2_token_url_; 70 std::string oauth2_token_url_;
71 std::string oauth2_issue_token_url_;
70 72
71 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); 73 DISALLOW_COPY_AND_ASSIGN(GaiaUrls);
72 }; 74 };
73 75
74 #endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_ 76 #endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/net/gaia/gaia_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698