summaryrefslogtreecommitdiffstats
path: root/chrome/common/net
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 09:12:02 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 09:12:02 +0000
commit0ff1cdfd006075c5b99df01bb0eb74c1e023e65a (patch)
tree6ed36b453a22de27b8220c84ac59f93c93df2f36 /chrome/common/net
parent2caba84bb84c0ee284626e5c3940c689dbe4f103 (diff)
downloadchromium_src-0ff1cdfd006075c5b99df01bb0eb74c1e023e65a.zip
chromium_src-0ff1cdfd006075c5b99df01bb0eb74c1e023e65a.tar.gz
chromium_src-0ff1cdfd006075c5b99df01bb0eb74c1e023e65a.tar.bz2
Add a missing include and match a constant type better. From phajdan.jr.
Review URL: http://codereview.chromium.org/2922 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2300 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/net')
-rw-r--r--chrome/common/net/cookie_monster_sqlite.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/net/cookie_monster_sqlite.cc b/chrome/common/net/cookie_monster_sqlite.cc
index 79491b6..5f0f361 100644
--- a/chrome/common/net/cookie_monster_sqlite.cc
+++ b/chrome/common/net/cookie_monster_sqlite.cc
@@ -4,6 +4,9 @@
#include "chrome/common/net/cookie_monster_sqlite.h"
+#include <list>
+
+#include "base/basictypes.h"
#include "base/logging.h"
#include "base/ref_counted.h"
#include "base/string_util.h"
@@ -104,7 +107,7 @@ void SQLitePersistentCookieStore::Backend::BatchOperation(
// Commit every 30 seconds.
static const int kCommitIntervalMs = 30 * 1000;
// Commit right away if we have more than 512 outstanding operations.
- static const int kCommitAfterBatchSize = 512;
+ static const size_t kCommitAfterBatchSize = 512;
DCHECK(MessageLoop::current() != background_loop_);
// We do a full copy of the cookie here, and hopefully just here.