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

Side by Side Diff: google_apis/gaia/gaia_auth_util.cc

Issue 12473004: src/: Update the remaining include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « google_apis/gaia/gaia_auth_fetcher.cc ('k') | google_apis/gaia/gaia_authenticator.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 #include "google_apis/gaia/gaia_auth_util.h" 5 #include "google_apis/gaia/gaia_auth_util.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_split.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/strings/string_split.h"
12 #include "google_apis/gaia/gaia_urls.h" 12 #include "google_apis/gaia/gaia_urls.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 namespace gaia { 15 namespace gaia {
16 16
17 namespace { 17 namespace {
18 const char kGmailDomain[] = "gmail.com"; 18 const char kGmailDomain[] = "gmail.com";
19 } 19 }
20 20
21 std::string CanonicalizeEmail(const std::string& email_address) { 21 std::string CanonicalizeEmail(const std::string& email_address) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 bool IsGaiaSignonRealm(const GURL& url) { 68 bool IsGaiaSignonRealm(const GURL& url) {
69 if (!url.SchemeIsSecure()) 69 if (!url.SchemeIsSecure())
70 return false; 70 return false;
71 71
72 return url == GURL(GaiaUrls::GetInstance()->gaia_origin_url()); 72 return url == GURL(GaiaUrls::GetInstance()->gaia_origin_url());
73 } 73 }
74 74
75 } // namespace gaia 75 } // namespace gaia
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_auth_fetcher.cc ('k') | google_apis/gaia/gaia_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698