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

Unified Diff: chrome/common/net/gaia/gaia_auth_util.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_auth_fetcher_unittest.cc ('k') | chrome/common/net/gaia/gaia_auth_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_auth_util.h
diff --git a/chrome/common/net/gaia/gaia_auth_util.h b/chrome/common/net/gaia/gaia_auth_util.h
deleted file mode 100644
index c93b5938dbbe0aaa50435f2f423d2e9cb36807ec..0000000000000000000000000000000000000000
--- a/chrome/common/net/gaia/gaia_auth_util.h
+++ /dev/null
@@ -1,31 +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_AUTH_UTIL_H_
-#define CHROME_COMMON_NET_GAIA_GAIA_AUTH_UTIL_H_
-
-#include <string>
-
-namespace gaia {
-
-// Perform basic canonicalization of |email_address|, taking into account that
-// gmail does not consider '.' or caps inside a username to matter. It also
-// ignores everything after a '+'. For example, c.masone+abc@gmail.com ==
-// cMaSone@gmail.com, per
-// http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=10313#
-std::string CanonicalizeEmail(const std::string& email_address);
-
-// Returns the canonical form of the given domain.
-std::string CanonicalizeDomain(const std::string& domain);
-
-// Sanitize emails. Currently, it only ensures all emails have a domain by
-// adding gmail.com if no domain is present.
-std::string SanitizeEmail(const std::string& email_address);
-
-// Extract the domain part from the canonical form of the given email.
-std::string ExtractDomainName(const std::string& email);
-
-} // namespace gaia
-
-#endif // CHROME_COMMON_NET_GAIA_GAIA_AUTH_UTIL_H_
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc ('k') | chrome/common/net/gaia/gaia_auth_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698