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

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

Issue 312093005: IndexedDB: Sprinkle DISALLOW_COPY_AND_ASSIGN where appropriate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing private: 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 unified diff | Download patch | Annotate | Revision Log
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_CURSOR_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CURSOR_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CURSOR_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CURSOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 IndexedDBDatabase::TaskType task_type_; 62 IndexedDBDatabase::TaskType task_type_;
63 indexed_db::CursorType cursor_type_; 63 indexed_db::CursorType cursor_type_;
64 const scoped_refptr<IndexedDBTransaction> transaction_; 64 const scoped_refptr<IndexedDBTransaction> transaction_;
65 65
66 // Must be destroyed before transaction_. 66 // Must be destroyed before transaction_.
67 scoped_ptr<IndexedDBBackingStore::Cursor> cursor_; 67 scoped_ptr<IndexedDBBackingStore::Cursor> cursor_;
68 // Must be destroyed before transaction_. 68 // Must be destroyed before transaction_.
69 scoped_ptr<IndexedDBBackingStore::Cursor> saved_cursor_; 69 scoped_ptr<IndexedDBBackingStore::Cursor> saved_cursor_;
70 70
71 bool closed_; 71 bool closed_;
72
73 DISALLOW_COPY_AND_ASSIGN(IndexedDBCursor);
72 }; 74 };
73 75
74 } // namespace content 76 } // namespace content
75 77
76 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CURSOR_H_ 78 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CURSOR_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_connection.h ('k') | content/browser/indexed_db/indexed_db_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698