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

Side by Side Diff: chrome/browser/webdata/web_data_service.cc

Issue 12543010: Establish components/autofill and move some files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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/webdata/web_data_service.h" 5 #include "chrome/browser/webdata/web_data_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" 22 #include "chrome/browser/webdata/autofill_profile_syncable_service.h"
23 #include "chrome/browser/webdata/autofill_table.h" 23 #include "chrome/browser/webdata/autofill_table.h"
24 #include "chrome/browser/webdata/keyword_table.h" 24 #include "chrome/browser/webdata/keyword_table.h"
25 #include "chrome/browser/webdata/logins_table.h" 25 #include "chrome/browser/webdata/logins_table.h"
26 #include "chrome/browser/webdata/token_service_table.h" 26 #include "chrome/browser/webdata/token_service_table.h"
27 #include "chrome/browser/webdata/web_apps_table.h" 27 #include "chrome/browser/webdata/web_apps_table.h"
28 #include "chrome/browser/webdata/web_database.h" 28 #include "chrome/browser/webdata/web_database.h"
29 #include "chrome/browser/webdata/web_intents_table.h" 29 #include "chrome/browser/webdata/web_intents_table.h"
30 #include "chrome/common/chrome_constants.h" 30 #include "chrome/common/chrome_constants.h"
31 #include "chrome/common/chrome_notification_types.h" 31 #include "chrome/common/chrome_notification_types.h"
32 #include "chrome/common/form_field_data.h" 32 #include "components/autofill/common/form_field_data.h"
33 #ifdef DEBUG 33 #ifdef DEBUG
34 #include "content/public/browser/browser_thread.h" 34 #include "content/public/browser/browser_thread.h"
35 #endif 35 #endif
36 #include "content/public/browser/notification_details.h" 36 #include "content/public/browser/notification_details.h"
37 #include "content/public/browser/notification_service.h" 37 #include "content/public/browser/notification_service.h"
38 #include "content/public/browser/notification_source.h" 38 #include "content/public/browser/notification_source.h"
39 #include "grit/chromium_strings.h" 39 #include "grit/chromium_strings.h"
40 #include "grit/generated_resources.h" 40 #include "grit/generated_resources.h"
41 #include "third_party/skia/include/core/SkBitmap.h" 41 #include "third_party/skia/include/core/SkBitmap.h"
42 42
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 898
899 void WebDataService::DestroyAutofillCreditCardResult( 899 void WebDataService::DestroyAutofillCreditCardResult(
900 const WDTypedResult* result) { 900 const WDTypedResult* result) {
901 DCHECK(result->GetType() == AUTOFILL_CREDITCARDS_RESULT); 901 DCHECK(result->GetType() == AUTOFILL_CREDITCARDS_RESULT);
902 const WDResult<std::vector<CreditCard*> >* r = 902 const WDResult<std::vector<CreditCard*> >* r =
903 static_cast<const WDResult<std::vector<CreditCard*> >*>(result); 903 static_cast<const WDResult<std::vector<CreditCard*> >*>(result);
904 904
905 std::vector<CreditCard*> credit_cards = r->GetValue(); 905 std::vector<CreditCard*> credit_cards = r->GetValue();
906 STLDeleteElements(&credit_cards); 906 STLDeleteElements(&credit_cards);
907 } 907 }
OLDNEW
« no previous file with comments | « chrome/browser/webdata/autofill_table_unittest.cc ('k') | chrome/browser/webdata/web_data_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698