| Index: chrome/browser/chromeos/login/authenticator.h
|
| diff --git a/chrome/browser/chromeos/login/authenticator.h b/chrome/browser/chromeos/login/authenticator.h
|
| index f992d31d2c31fdfb3f9f8a121d7d0e92fda0c186..ab0e2f26791c9a7e87e1f3861c141afe6a82add3 100644
|
| --- a/chrome/browser/chromeos/login/authenticator.h
|
| +++ b/chrome/browser/chromeos/login/authenticator.h
|
| @@ -97,10 +97,16 @@ class Authenticator : public base::RefCountedThreadSafe<Authenticator> {
|
| // http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=10313#
|
| static std::string Canonicalize(const std::string& email_address);
|
|
|
| + // Returns the canonical form of the given domain.
|
| + static 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.
|
| static std::string Sanitize(const std::string& email_address);
|
|
|
| + // Extract the domain part from the canonical form of the given email.
|
| + static std::string ExtractDomainName(const std::string& email);
|
| +
|
| protected:
|
| LoginStatusConsumer* consumer_;
|
| Profile* authentication_profile_;
|
|
|