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

Unified Diff: content/browser/indexed_db/indexed_db_database_unittest.cc

Issue 311263014: IndexedDB: Fix trivial cpplint.py errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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
Index: content/browser/indexed_db/indexed_db_database_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_database_unittest.cc b/content/browser/indexed_db/indexed_db_database_unittest.cc
index 307cf5144444160be7458114faa91d1d4598713f..dcaf8233657d249272ffbd4632b3db2587f879f9 100644
--- a/content/browser/indexed_db/indexed_db_database_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_database_unittest.cc
@@ -4,6 +4,8 @@
#include "content/browser/indexed_db/indexed_db_database.h"
+#include <set>
+
#include "base/auto_reset.h"
#include "base/logging.h"
#include "base/run_loop.h"
@@ -14,7 +16,6 @@
#include "content/browser/indexed_db/indexed_db_callbacks.h"
#include "content/browser/indexed_db/indexed_db_connection.h"
#include "content/browser/indexed_db/indexed_db_cursor.h"
-#include "content/browser/indexed_db/indexed_db_database.h"
#include "content/browser/indexed_db/indexed_db_factory.h"
#include "content/browser/indexed_db/indexed_db_fake_backing_store.h"
#include "content/browser/indexed_db/indexed_db_transaction.h"
@@ -160,7 +161,7 @@ class MockDeleteCallbacks : public IndexedDBCallbacks {
virtual void OnBlocked(int64 existing_version) OVERRIDE {
blocked_called_ = true;
}
- virtual void OnSuccess(int64) OVERRIDE { success_called_ = true; }
+ virtual void OnSuccess(int64 result) OVERRIDE { success_called_ = true; }
bool blocked_called() const { return blocked_called_; }
bool success_called() const { return success_called_; }
@@ -408,7 +409,7 @@ TEST_F(IndexedDBDatabaseOperationTest, CreatePutDelete) {
RunPostedTasks();
EXPECT_EQ(0ULL, db_->metadata().object_stores.size());
- transaction_->Commit(); // Cleans up the object hierarchy.
+ transaction_->Commit(); // Cleans up the object hierarchy.
}
} // namespace content
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_error.h ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698