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

Side by Side Diff: components/autofill/content/browser/autocheckout/whitelist_manager.cc

Issue 16879006: In components/autofill, move common/ to core/common/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflict Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/autofill/content/browser/autocheckout/whitelist_manager.h" 5 #include "components/autofill/content/browser/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/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/strings/string_split.h" 11 #include "base/strings/string_split.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "components/autofill/common/autofill_switches.h" 13 #include "components/autofill/core/common/autofill_switches.h"
14 #include "content/public/browser/browser_context.h" 14 #include "content/public/browser/browser_context.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "net/base/load_flags.h" 16 #include "net/base/load_flags.h"
17 #include "net/http/http_status_code.h" 17 #include "net/http/http_status_code.h"
18 #include "net/url_request/url_fetcher.h" 18 #include "net/url_request/url_fetcher.h"
19 #include "net/url_request/url_request_context_getter.h" 19 #include "net/url_request/url_request_context_getter.h"
20 20
21 namespace { 21 namespace {
22 22
23 // Back off in seconds after each whitelist download is attempted. 23 // Back off in seconds after each whitelist download is attempted.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // Chrome can ignore them and continue to work. 164 // Chrome can ignore them and continue to work.
165 if (!fields[0].empty()) 165 if (!fields[0].empty())
166 new_url_prefixes.push_back(fields[0]); 166 new_url_prefixes.push_back(fields[0]);
167 } 167 }
168 } 168 }
169 url_prefixes_ = new_url_prefixes; 169 url_prefixes_ = new_url_prefixes;
170 } 170 }
171 171
172 } // namespace autocheckout 172 } // namespace autocheckout
173 } // namespace autofill 173 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/DEPS ('k') | components/autofill/content/browser/autocheckout/whitelist_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698