OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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/autocheckout/whitelist_manager.h" | 5 #include "chrome/browser/autofill/autocheckout/whitelist_manager.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.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 "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
13 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "net/base/load_flags.h" | 15 #include "net/base/load_flags.h" |
16 #include "net/http/http_status_code.h" | 16 #include "net/http/http_status_code.h" |
17 #include "net/url_request/url_fetcher.h" | 17 #include "net/url_request/url_fetcher.h" |
18 #include "net/url_request/url_request_context_getter.h" | 18 #include "net/url_request/url_request_context_getter.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 if (!fields[0].empty()) | 147 if (!fields[0].empty()) |
148 new_url_prefixes.push_back(fields[0]); | 148 new_url_prefixes.push_back(fields[0]); |
149 } | 149 } |
150 } | 150 } |
151 url_prefixes_ = new_url_prefixes; | 151 url_prefixes_ = new_url_prefixes; |
152 } | 152 } |
153 | 153 |
154 } // namespace autocheckout | 154 } // namespace autocheckout |
155 } // namespace autofill | 155 } // namespace autofill |
156 | 156 |
OLD | NEW |