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

Side by Side Diff: chrome/browser/autofill/autocheckout/whitelist_url.cc

Issue 11867025: Download autocheckout whitelist and enable autocheckout for whitelisted sites only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Ilya's review comments, mostly styling. Created 7 years, 10 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/autofill/autocheckout/whitelist_url.h"
6
7 #include <string>
8
9 #include "base/command_line.h"
10 #include "chrome/common/chrome_switches.h"
11 #include "googleurl/src/gurl.h"
12
13 namespace {
14
15 const char kDefaultAutocheckoutWhitelistUrl[] =
16 "http://www.gstatic.com/commerce/autocheckout/whitelist.csv";
17
18 } // namespace
19
20 namespace autofill {
21 namespace autocheckout {
22
23 GURL GetAutocheckoutWhitelistUrl() {
24 return GURL(kDefaultAutocheckoutWhitelistUrl);
25 }
26
27 } // namespace autocheckout
28 } // namespace autofill
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698