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

Unified Diff: chrome/common/net/gaia/gaia_urls.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/net/gaia/gaia_switches.cc ('k') | chrome/common/net/gaia/gaia_urls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_urls.h
diff --git a/chrome/common/net/gaia/gaia_urls.h b/chrome/common/net/gaia/gaia_urls.h
deleted file mode 100644
index b657c30096e064a6c7fa32f642314b2cb145fdb9..0000000000000000000000000000000000000000
--- a/chrome/common/net/gaia/gaia_urls.h
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_COMMON_NET_GAIA_GAIA_URLS_H_
-#define CHROME_COMMON_NET_GAIA_GAIA_URLS_H_
-
-#include <string>
-
-#include "base/memory/singleton.h"
-
-// A signleton that provides all the URLs that are used for connecting to GAIA.
-class GaiaUrls {
- public:
- static GaiaUrls* GetInstance();
-
- // The URLs for different calls in the Google Accounts programmatic login API.
- const std::string& captcha_url_prefix();
-
- const std::string& gaia_origin_url();
- const std::string& client_login_url();
- const std::string& service_login_url();
- const std::string& issue_auth_token_url();
- const std::string& get_user_info_url();
- const std::string& token_auth_url();
- const std::string& merge_session_url();
- const std::string& get_oauth_token_url();
- const std::string& oauth_get_access_token_url();
- const std::string& oauth_wrap_bridge_url();
- const std::string& oauth_user_info_url();
- const std::string& oauth_revoke_token_url();
- const std::string& oauth1_login_url();
-
- const std::string& oauth1_login_scope();
- const std::string& oauth_wrap_bridge_user_info_scope();
- const std::string& client_oauth_url();
-
- const std::string& oauth2_chrome_client_id();
- const std::string& oauth2_chrome_client_secret();
- const std::string& client_login_to_oauth2_url();
- const std::string& oauth2_token_url();
- const std::string& oauth2_issue_token_url();
-
- const std::string& gaia_login_form_realm();
-
- private:
- GaiaUrls();
- ~GaiaUrls();
-
- friend struct DefaultSingletonTraits<GaiaUrls>;
-
- std::string captcha_url_prefix_;
-
- std::string gaia_origin_url_;
- std::string client_login_url_;
- std::string service_login_url_;
- std::string issue_auth_token_url_;
- std::string get_user_info_url_;
- std::string token_auth_url_;
- std::string merge_session_url_;
- std::string get_oauth_token_url_;
- std::string oauth_get_access_token_url_;
- std::string oauth_wrap_bridge_url_;
- std::string oauth_user_info_url_;
- std::string oauth_revoke_token_url_;
- std::string oauth1_login_url_;
-
- std::string oauth1_login_scope_;
- std::string oauth_wrap_bridge_user_info_scope_;
- std::string client_oauth_url_;
-
- std::string oauth2_chrome_client_id_;
- std::string oauth2_chrome_client_secret_;
- std::string client_login_to_oauth2_url_;
- std::string oauth2_token_url_;
- std::string oauth2_issue_token_url_;
-
- std::string gaia_login_form_realm_;
-
- DISALLOW_COPY_AND_ASSIGN(GaiaUrls);
-};
-
-#endif // CHROME_COMMON_NET_GAIA_GAIA_URLS_H_
« no previous file with comments | « chrome/common/net/gaia/gaia_switches.cc ('k') | chrome/common/net/gaia/gaia_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698