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

Side by Side Diff: content/browser/indexed_db/indexed_db_fake_backing_store.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_FAKE_BACKING_STORE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/browser/indexed_db/indexed_db_backing_store.h" 10 #include "content/browser/indexed_db/indexed_db_backing_store.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 public: 137 public:
138 FakeTransaction(leveldb::Status phase_two_result); 138 FakeTransaction(leveldb::Status phase_two_result);
139 virtual void Begin() OVERRIDE; 139 virtual void Begin() OVERRIDE;
140 virtual leveldb::Status CommitPhaseOne( 140 virtual leveldb::Status CommitPhaseOne(
141 scoped_refptr<BlobWriteCallback>) OVERRIDE; 141 scoped_refptr<BlobWriteCallback>) OVERRIDE;
142 virtual leveldb::Status CommitPhaseTwo() OVERRIDE; 142 virtual leveldb::Status CommitPhaseTwo() OVERRIDE;
143 virtual void Rollback() OVERRIDE; 143 virtual void Rollback() OVERRIDE;
144 144
145 private: 145 private:
146 leveldb::Status result_; 146 leveldb::Status result_;
147
148 DISALLOW_COPY_AND_ASSIGN(FakeTransaction);
147 }; 149 };
148 150
149 protected: 151 protected:
150 friend class base::RefCounted<IndexedDBFakeBackingStore>; 152 friend class base::RefCounted<IndexedDBFakeBackingStore>;
151 virtual ~IndexedDBFakeBackingStore(); 153 virtual ~IndexedDBFakeBackingStore();
154
155 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore);
152 }; 156 };
153 157
154 } // namespace content 158 } // namespace content
155 159
156 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ 160 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | content/browser/indexed_db/indexed_db_index_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698