From 0ff1cdfd006075c5b99df01bb0eb74c1e023e65a Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Wed, 17 Sep 2008 09:12:02 +0000 Subject: 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 --- chrome/common/net/cookie_monster_sqlite.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome') 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 + +#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. -- cgit v1.1