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

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

Issue 405433007: IndexedDB: Fix coding style issues c/o cpplint.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_backing_store_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
index 4a9223f7197ad42f527479ff91c9d6971924476b..607aa81dfe3f26ddfbbddac67b53e04602595c50 100644
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
@@ -372,7 +372,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistency) {
ScopedVector<webkit_blob::BlobDataHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
leveldb::Status s = backing_store_->PutRecord(
- &transaction1, 1, 1, m_key1, m_value1, &handles, &record);
+ &transaction1, 1, 1, m_key1, &m_value1, &handles, &record);
EXPECT_TRUE(s.ok());
scoped_refptr<TestCallback> callback(new TestCallback());
EXPECT_TRUE(transaction1.CommitPhaseOne(callback).ok());
@@ -407,7 +407,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistencyWithBlobs) {
1,
1,
m_key3,
- m_value3,
+ &m_value3,
&handles,
&record).ok());
scoped_refptr<TestCallback> callback(new TestCallback());
@@ -492,28 +492,28 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRange) {
1,
i + 1,
key0,
- value0,
+ &value0,
&handles,
&record).ok());
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
i + 1,
key1,
- value1,
+ &value1,
&handles,
&record).ok());
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
i + 1,
key2,
- value2,
+ &value2,
&handles,
&record).ok());
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
i + 1,
key3,
- value3,
+ &value3,
&handles,
&record).ok());
scoped_refptr<TestCallback> callback(new TestCallback());
@@ -582,28 +582,28 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRangeEmptyRange) {
1,
i + 1,
key0,
- value0,
+ &value0,
&handles,
&record).ok());
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
i + 1,
key1,
- value1,
+ &value1,
&handles,
&record).ok());
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
i + 1,
key2,
- value2,
+ &value2,
&handles,
&record).ok());
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
i + 1,
key3,
- value3,
+ &value3,
&handles,
&record).ok());
scoped_refptr<TestCallback> callback(new TestCallback());
@@ -641,7 +641,7 @@ TEST_F(IndexedDBBackingStoreTest, LiveBlobJournal) {
1,
1,
m_key3,
- m_value3,
+ &m_value3,
&handles,
&record).ok());
scoped_refptr<TestCallback> callback(new TestCallback());
@@ -720,7 +720,7 @@ TEST_F(IndexedDBBackingStoreTest, HighIds) {
high_database_id,
high_object_store_id,
m_key1,
- m_value1,
+ &m_value1,
&handles,
&record);
EXPECT_TRUE(s.ok());
@@ -809,23 +809,23 @@ TEST_F(IndexedDBBackingStoreTest, InvalidIds) {
database_id,
KeyPrefix::kInvalidId,
m_key1,
- m_value1,
+ &m_value1,
&handles,
&record);
EXPECT_FALSE(s.ok());
s = backing_store_->PutRecord(
- &transaction1, database_id, 0, m_key1, m_value1, &handles, &record);
+ &transaction1, database_id, 0, m_key1, &m_value1, &handles, &record);
EXPECT_FALSE(s.ok());
s = backing_store_->PutRecord(&transaction1,
KeyPrefix::kInvalidId,
object_store_id,
m_key1,
- m_value1,
+ &m_value1,
&handles,
&record);
EXPECT_FALSE(s.ok());
s = backing_store_->PutRecord(
- &transaction1, 0, object_store_id, m_key1, m_value1, &handles, &record);
+ &transaction1, 0, object_store_id, m_key1, &m_value1, &handles, &record);
EXPECT_FALSE(s.ok());
s = backing_store_->GetRecord(
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.cc ('k') | content/browser/indexed_db/indexed_db_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698