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

Side by Side Diff: content/browser/indexed_db/indexed_db_backing_store.h

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 BlobJournalType* live_blobs) const; 254 BlobJournalType* live_blobs) const;
255 255
256 IndexedDBBackingStore* backing_store_; 256 IndexedDBBackingStore* backing_store_;
257 scoped_refptr<LevelDBTransaction> transaction_; 257 scoped_refptr<LevelDBTransaction> transaction_;
258 BlobChangeMap blob_change_map_; 258 BlobChangeMap blob_change_map_;
259 BlobChangeMap incognito_blob_map_; 259 BlobChangeMap incognito_blob_map_;
260 int64 database_id_; 260 int64 database_id_;
261 261
262 // List of blob files being newly written as part of this transaction. 262 // List of blob files being newly written as part of this transaction.
263 // These will be added to the primary blob journal prior to commit, then 263 // These will be added to the primary blob journal prior to commit, then
264 // removed after a sucessful commit. 264 // removed after a successful commit.
265 BlobJournalType blobs_to_write_; 265 BlobJournalType blobs_to_write_;
266 266
267 // List of blob files being deleted as part of this transaction. These will 267 // List of blob files being deleted as part of this transaction. These will
268 // be added to either the primary or live blob journal as appropriate 268 // be added to either the primary or live blob journal as appropriate
269 // following a successful commit. 269 // following a successful commit.
270 BlobJournalType blobs_to_remove_; 270 BlobJournalType blobs_to_remove_;
271 scoped_refptr<ChainedBlobWriter> chained_blob_writer_; 271 scoped_refptr<ChainedBlobWriter> chained_blob_writer_;
272 272
273 // Set to true between CommitPhaseOne and CommitPhaseTwo/Rollback, to 273 // Set to true between CommitPhaseOne and CommitPhaseTwo/Rollback, to
274 // indicate that the committing_transaction_count_ on the backing store 274 // indicate that the committing_transaction_count_ on the backing store
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // complete. While > 0, temporary journal entries may exist so out-of-band 664 // complete. While > 0, temporary journal entries may exist so out-of-band
665 // journal cleaning must be deferred. 665 // journal cleaning must be deferred.
666 size_t committing_transaction_count_; 666 size_t committing_transaction_count_;
667 667
668 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); 668 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore);
669 }; 669 };
670 670
671 } // namespace content 671 } // namespace content
672 672
673 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 673 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698