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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts 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 (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 "components/autofill/browser/webdata/autofill_webdata_backend_impl.h" 5 #include "components/autofill/core/browser/webdata/autofill_webdata_backend_impl .h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "components/autofill/browser/autofill_country.h" 10 #include "components/autofill/core/browser/autofill_country.h"
11 #include "components/autofill/browser/autofill_profile.h" 11 #include "components/autofill/core/browser/autofill_profile.h"
12 #include "components/autofill/browser/credit_card.h" 12 #include "components/autofill/core/browser/credit_card.h"
13 #include "components/autofill/browser/webdata/autofill_change.h" 13 #include "components/autofill/core/browser/webdata/autofill_change.h"
14 #include "components/autofill/browser/webdata/autofill_entry.h" 14 #include "components/autofill/core/browser/webdata/autofill_entry.h"
15 #include "components/autofill/browser/webdata/autofill_table.h" 15 #include "components/autofill/core/browser/webdata/autofill_table.h"
16 #include "components/autofill/browser/webdata/autofill_webdata_service_observer. h" 16 #include "components/autofill/core/browser/webdata/autofill_webdata_service_obse rver.h"
17 #include "components/autofill/core/common/form_field_data.h" 17 #include "components/autofill/core/common/form_field_data.h"
18 #include "components/webdata/common/web_data_service_backend.h" 18 #include "components/webdata/common/web_data_service_backend.h"
19 19
20 using base::Bind; 20 using base::Bind;
21 using base::Time; 21 using base::Time;
22 using content::BrowserThread; 22 using content::BrowserThread;
23 23
24 namespace autofill { 24 namespace autofill {
25 25
26 AutofillWebDataBackendImpl::AutofillWebDataBackendImpl( 26 AutofillWebDataBackendImpl::AutofillWebDataBackendImpl(
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 const WDTypedResult* result) { 375 const WDTypedResult* result) {
376 DCHECK(result->GetType() == AUTOFILL_CREDITCARDS_RESULT); 376 DCHECK(result->GetType() == AUTOFILL_CREDITCARDS_RESULT);
377 const WDResult<std::vector<CreditCard*> >* r = 377 const WDResult<std::vector<CreditCard*> >* r =
378 static_cast<const WDResult<std::vector<CreditCard*> >*>(result); 378 static_cast<const WDResult<std::vector<CreditCard*> >*>(result);
379 379
380 std::vector<CreditCard*> credit_cards = r->GetValue(); 380 std::vector<CreditCard*> credit_cards = r->GetValue();
381 STLDeleteElements(&credit_cards); 381 STLDeleteElements(&credit_cards);
382 } 382 }
383 383
384 } // namespace autofill 384 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698