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

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

Issue 16581002: IndexedDB: Eliminate interfaces for IndexedDB{Factory,Database,Cursor} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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_INDEX_WRITER_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INDEX_WRITER_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INDEX_WRITER_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INDEX_WRITER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "content/browser/indexed_db/indexed_db_backing_store.h" 13 #include "content/browser/indexed_db/indexed_db_backing_store.h"
14 #include "content/browser/indexed_db/indexed_db_database_impl.h" 14 #include "content/browser/indexed_db/indexed_db_database.h"
15 #include "content/browser/indexed_db/indexed_db_metadata.h" 15 #include "content/browser/indexed_db/indexed_db_metadata.h"
16 #include "content/common/indexed_db/indexed_db_key_path.h" 16 #include "content/common/indexed_db/indexed_db_key_path.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 class IndexedDBDatabaseImpl; 20 class IndexedDBDatabase;
21 class IndexedDBTransaction; 21 class IndexedDBTransaction;
22 struct IndexedDBObjectStoreMetadata; 22 struct IndexedDBObjectStoreMetadata;
23 23
24 // TODO(alecflett): this namespace is temporary until we move its contents out 24 // TODO(alecflett): this namespace is temporary until we move its contents out
25 // to their own home. 25 // to their own home.
26 namespace IndexedDBObjectStoreImpl { 26 namespace IndexedDBObjectStoreImpl {
27 27
28 class IndexWriter { 28 class IndexWriter {
29 public: 29 public:
30 explicit IndexWriter(const IndexedDBIndexMetadata& index_metadata); 30 explicit IndexWriter(const IndexedDBIndexMetadata& index_metadata);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const std::vector<int64>& index_ids, 73 const std::vector<int64>& index_ids,
74 const std::vector<IndexedDBDatabase::IndexKeys>& index_keys, 74 const std::vector<IndexedDBDatabase::IndexKeys>& index_keys,
75 ScopedVector<IndexWriter>* index_writers, 75 ScopedVector<IndexWriter>* index_writers,
76 string16* error_message, 76 string16* error_message,
77 bool* completed) WARN_UNUSED_RESULT; 77 bool* completed) WARN_UNUSED_RESULT;
78 }; 78 };
79 79
80 } // namespace content 80 } // namespace content
81 81
82 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INDEX_WRITER_H_ 82 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_INDEX_WRITER_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_impl.cc ('k') | content/browser/indexed_db/indexed_db_leveldb_coding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698