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

Side by Side Diff: google_apis/gaia/gaia_urls.h

Issue 601643002: Use a distinct source parameter on gaia endpoints for the reconcilor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uber
Patch Set: Address review comments Created 6 years, 2 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
« no previous file with comments | « google_apis/gaia/gaia_constants.cc ('k') | google_apis/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) 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 GOOGLE_APIS_GAIA_GAIA_URLS_H_ 5 #ifndef GOOGLE_APIS_GAIA_GAIA_URLS_H_
6 #define GOOGLE_APIS_GAIA_GAIA_URLS_H_ 6 #define GOOGLE_APIS_GAIA_GAIA_URLS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 14 matching lines...) Expand all
25 const GURL& issue_auth_token_url() const; 25 const GURL& issue_auth_token_url() const;
26 const GURL& get_user_info_url() const; 26 const GURL& get_user_info_url() const;
27 const GURL& token_auth_url() const; 27 const GURL& token_auth_url() const;
28 const GURL& merge_session_url() const; 28 const GURL& merge_session_url() const;
29 const GURL& get_oauth_token_url() const; 29 const GURL& get_oauth_token_url() const;
30 const GURL& oauth_get_access_token_url() const; 30 const GURL& oauth_get_access_token_url() const;
31 const GURL& oauth_wrap_bridge_url() const; 31 const GURL& oauth_wrap_bridge_url() const;
32 const GURL& oauth_user_info_url() const; 32 const GURL& oauth_user_info_url() const;
33 const GURL& oauth_revoke_token_url() const; 33 const GURL& oauth_revoke_token_url() const;
34 const GURL& oauth1_login_url() const; 34 const GURL& oauth1_login_url() const;
35 const GURL& list_accounts_url() const; 35 const GURL& list_accounts_url() const;
Mike Lerman 2014/09/26 20:18:10 Should this and get_check_connection_info_url() no
Roger Tawa OOO till Jul 10th 2014/09/27 00:30:27 Done.
36 const GURL& embedded_signin_url() const; 36 const GURL& embedded_signin_url() const;
37 const GURL& add_account_url() const; 37 const GURL& add_account_url() const;
38 const GURL& get_check_connection_info_url() const; 38 const GURL& get_check_connection_info_url() const;
39 39
40 const std::string& oauth2_chrome_client_id() const; 40 const std::string& oauth2_chrome_client_id() const;
41 const std::string& oauth2_chrome_client_secret() const; 41 const std::string& oauth2_chrome_client_secret() const;
42 const GURL& client_login_to_oauth2_url() const; 42 const GURL& client_login_to_oauth2_url() const;
43 const GURL& oauth2_auth_url() const; 43 const GURL& oauth2_auth_url() const;
44 const GURL& oauth2_token_url() const; 44 const GURL& oauth2_token_url() const;
45 const GURL& oauth2_issue_token_url() const; 45 const GURL& oauth2_issue_token_url() const;
46 const GURL& oauth2_token_info_url() const; 46 const GURL& oauth2_token_info_url() const;
47 const GURL& oauth2_revoke_url() const; 47 const GURL& oauth2_revoke_url() const;
48 48
49 const GURL& gaia_login_form_realm() const; 49 const GURL& gaia_login_form_realm() const;
50 50
51 GURL ListAccountsURLWithSource(const std::string& source);
52 GURL GetCheckConnectionInfoURLWithSource(const std::string& source);
53
51 private: 54 private:
52 GaiaUrls(); 55 GaiaUrls();
53 ~GaiaUrls(); 56 ~GaiaUrls();
54 57
55 friend struct DefaultSingletonTraits<GaiaUrls>; 58 friend struct DefaultSingletonTraits<GaiaUrls>;
56 59
57 GURL gaia_url_; 60 GURL gaia_url_;
58 GURL captcha_base_url_; 61 GURL captcha_base_url_;
59 62
60 GURL lso_origin_url_; 63 GURL lso_origin_url_;
(...skipping 27 matching lines...) Expand all
88 GURL oauth2_issue_token_url_; 91 GURL oauth2_issue_token_url_;
89 GURL oauth2_token_info_url_; 92 GURL oauth2_token_info_url_;
90 GURL oauth2_revoke_url_; 93 GURL oauth2_revoke_url_;
91 94
92 GURL gaia_login_form_realm_; 95 GURL gaia_login_form_realm_;
93 96
94 DISALLOW_COPY_AND_ASSIGN(GaiaUrls); 97 DISALLOW_COPY_AND_ASSIGN(GaiaUrls);
95 }; 98 };
96 99
97 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_ 100 #endif // GOOGLE_APIS_GAIA_GAIA_URLS_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_constants.cc ('k') | google_apis/gaia/gaia_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698