summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 03:15:59 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 03:15:59 +0000
commit2041cf34db4b3b9e43f9c63a57975798c0677ad7 (patch)
tree5caa67abfd19b51f124c17ac0c6a68eca0d9e860 /chrome/browser/safe_browsing
parentcf03da1cccdc0bae0ced1dcf599c8a74324a1577 (diff)
downloadchromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.zip
chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.gz
chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.bz2
Pulled out Callback code into base/callback.h. This is the first step towards redoing the Callback interfaces.
Added and removed includes as needed. BUG=35223 TEST=trybots Review URL: http://codereview.chromium.org/646061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_database.h3
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_database_bloom.cc1
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_database_bloom.h2
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_service.cc1
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_store.h1
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_store_file.cc2
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_store_file.h1
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc1
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_store_sqlite.h1
9 files changed, 12 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h
index 5adc573..1fc5756 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database.h
+++ b/chrome/browser/safe_browsing/safe_browsing_database.h
@@ -10,9 +10,10 @@
#include <set>
#include <vector>
+#include "base/callback.h"
#include "base/file_path.h"
#include "base/scoped_ptr.h"
-#include "base/task.h"
+#include "base/time.h"
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc
index d818881..a0e7fcc 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_database_bloom.h"
#include "base/auto_reset.h"
+#include "base/callback.h"
#include "base/file_util.h"
#include "base/message_loop.h"
#include "base/process_util.h"
diff --git a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h
index 449e76c..d8154dc 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database_bloom.h
+++ b/chrome/browser/safe_browsing/safe_browsing_database_bloom.h
@@ -10,7 +10,9 @@
#include <string>
#include <vector>
+#include "base/callback.h"
#include "base/lock.h"
+#include "base/task.h"
#include "chrome/browser/safe_browsing/safe_browsing_database.h"
namespace base {
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index 1c45b84..c19e4efc 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
+#include "base/callback.h"
#include "base/path_service.h"
#include "base/string_util.h"
#include "chrome/browser/browser_process.h"
diff --git a/chrome/browser/safe_browsing/safe_browsing_store.h b/chrome/browser/safe_browsing/safe_browsing_store.h
index 0d13e88..1d32e7d 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/callback.h"
#include "base/file_path.h"
#include "base/task.h"
#include "base/time.h"
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.cc b/chrome/browser/safe_browsing/safe_browsing_store_file.cc
index ad494d9..0ae908f 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/safe_browsing/safe_browsing_store_file.h"
+#include "base/callback.h"
+
namespace {
// NOTE(shess): kFileMagic should not be a byte-wise palindrome, so
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_file.h b/chrome/browser/safe_browsing/safe_browsing_store_file.h
index 25f6d9c..f7ef5de 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_file.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store_file.h
@@ -10,6 +10,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_store.h"
+#include "base/callback.h"
#include "base/file_util.h"
// Implement SafeBrowsingStore in terms of a flat file. The file
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc
index a5e7df7..a4fba23 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_store_sqlite.h"
+#include "base/callback.h"
#include "base/file_util.h"
#include "chrome/common/sqlite_compiled_statement.h"
#include "chrome/common/sqlite_utils.h"
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h
index 272ab56..4783c3e 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h
+++ b/chrome/browser/safe_browsing/safe_browsing_store_sqlite.h
@@ -8,6 +8,7 @@
#include <set>
#include <vector>
+#include "base/callback.h"
#include "chrome/browser/safe_browsing/safe_browsing_store.h"
#include "testing/gtest/include/gtest/gtest_prod.h"