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

Side by Side Diff: components/autofill/browser/wallet/wallet_service_url.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines 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
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 "chrome/browser/autofill/wallet/wallet_service_url.h" 5 #include "components/autofill/browser/wallet/wallet_service_url.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "components/autofill/common/autofill_switches.h" 10 #include "components/autofill/common/autofill_switches.h"
11 #include "google_apis/gaia/gaia_urls.h" 11 #include "google_apis/gaia/gaia_urls.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "net/base/url_util.h" 13 #include "net/base/url_util.h"
14 14
15 namespace { 15 namespace {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 bool IsSignInContinueUrl(const GURL& url) { 99 bool IsSignInContinueUrl(const GURL& url) {
100 GURL final_url = wallet::GetSignInContinueUrl(); 100 GURL final_url = wallet::GetSignInContinueUrl();
101 return url.SchemeIsSecure() && 101 return url.SchemeIsSecure() &&
102 url.host() == final_url.host() && 102 url.host() == final_url.host() &&
103 url.path() == final_url.path(); 103 url.path() == final_url.path();
104 } 104 }
105 105
106 } // namespace wallet 106 } // namespace wallet
107 } // namespace autofill 107 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698