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

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

Issue 12957002: wd4-ui for try only (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wd4-ui_with_windows_fix 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/autofill_web_data_service_impl.h" 5 #include "chrome/browser/webdata/autofill_web_data_service_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/webdata/web_data_service.h" 8 #include "chrome/browser/webdata/web_data_service.h"
9 9
10 AutofillWebDataService::AutofillWebDataService()
11 : WebDataServiceBase(WebDataServiceBase::ProfileErrorCallback()) {
12 }
13
10 AutofillWebDataServiceImpl::AutofillWebDataServiceImpl( 14 AutofillWebDataServiceImpl::AutofillWebDataServiceImpl(
11 scoped_refptr<WebDataService> service) 15 scoped_refptr<WebDataService> service)
12 : service_(service) { 16 : service_(service) {
13 DCHECK(service.get()); 17 DCHECK(service.get());
14 } 18 }
15 19
16 AutofillWebDataServiceImpl::~AutofillWebDataServiceImpl() { 20 AutofillWebDataServiceImpl::~AutofillWebDataServiceImpl() {
17 } 21 }
18 22
19 void AutofillWebDataServiceImpl::AddFormFields( 23 void AutofillWebDataServiceImpl::AddFormFields(
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 82 }
79 83
80 void AutofillWebDataServiceImpl::CancelRequest(Handle h) { 84 void AutofillWebDataServiceImpl::CancelRequest(Handle h) {
81 service_->CancelRequest(h); 85 service_->CancelRequest(h);
82 } 86 }
83 87
84 content::NotificationSource 88 content::NotificationSource
85 AutofillWebDataServiceImpl::GetNotificationSource() { 89 AutofillWebDataServiceImpl::GetNotificationSource() {
86 return service_->GetNotificationSource(); 90 return service_->GetNotificationSource();
87 } 91 }
92
93 bool AutofillWebDataServiceImpl::IsDatabaseLoaded() {
94 return service_->IsDatabaseLoaded();
95 }
96
97 WebDatabase* AutofillWebDataServiceImpl::GetDatabase() {
98 return service_->GetDatabase();
99 }
OLDNEW
« no previous file with comments | « chrome/browser/webdata/autofill_web_data_service_impl.h ('k') | chrome/browser/webdata/keyword_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698