summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata/web_data_service.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 18:47:09 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 18:47:09 +0000
commit4d022ff503f77992fc54377b6fab55832ba5204b (patch)
treecf102f60a4a6c9b9e749ab300b2872445d97efef /chrome/browser/webdata/web_data_service.cc
parent471422037fc09b24f8ca08164e041c26a5e764e8 (diff)
downloadchromium_src-4d022ff503f77992fc54377b6fab55832ba5204b.zip
chromium_src-4d022ff503f77992fc54377b6fab55832ba5204b.tar.gz
chromium_src-4d022ff503f77992fc54377b6fab55832ba5204b.tar.bz2
Remove some #includes where possible.
BUG=none TEST=none Review URL: http://codereview.chromium.org/335002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/webdata/web_data_service.cc')
-rw-r--r--chrome/browser/webdata/web_data_service.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc
index 32e194e..d1cc7f8 100644
--- a/chrome/browser/webdata/web_data_service.cc
+++ b/chrome/browser/webdata/web_data_service.cc
@@ -1,13 +1,11 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/webdata/web_data_service.h"
-#include "base/file_util.h"
-#include "base/path_service.h"
-#include "base/scoped_ptr.h"
-#include "chrome/browser/search_engines/template_url.h"
+#include "base/thread.h"
+#include "chrome/browser/webdata/web_database.h"
#include "chrome/common/chrome_constants.h"
#include "webkit/glue/password_form.h"
@@ -319,8 +317,8 @@ void WebDataService::RemoveLogin(const PasswordForm& form) {
request));
}
-void WebDataService::RemoveLoginsCreatedBetween(const Time delete_begin,
- const Time delete_end) {
+void WebDataService::RemoveLoginsCreatedBetween(const Time& delete_begin,
+ const Time& delete_end) {
GenericRequest2<Time, Time>* request =
new GenericRequest2<Time, Time>(this,
GetNextRequestHandle(),
@@ -332,7 +330,7 @@ void WebDataService::RemoveLoginsCreatedBetween(const Time delete_begin,
&WebDataService::RemoveLoginsCreatedBetweenImpl, request));
}
-void WebDataService::RemoveLoginsCreatedAfter(const Time delete_begin) {
+void WebDataService::RemoveLoginsCreatedAfter(const Time& delete_begin) {
RemoveLoginsCreatedBetween(delete_begin, Time());
}