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

Unified Diff: chrome/common/net/cookie_monster_sqlite.cc

Issue 2922: Add a missing include and match a constant type better. From phajdan.jr. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/cookie_monster_sqlite.cc
===================================================================
--- chrome/common/net/cookie_monster_sqlite.cc (revision 2299)
+++ chrome/common/net/cookie_monster_sqlite.cc (working copy)
@@ -4,6 +4,8 @@
#include "chrome/common/net/cookie_monster_sqlite.h"
+#include <list>
+
#include "base/logging.h"
#include "base/ref_counted.h"
#include "base/string_util.h"
@@ -104,7 +106,7 @@
// 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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698