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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CLASS_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CLASS_FACTORY_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CLASS_FACTORY_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CLASS_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 12
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "content/browser/indexed_db/indexed_db_backing_store.h" 15 #include "content/browser/indexed_db/indexed_db_backing_store.h"
16 #include "content/browser/indexed_db/indexed_db_database.h" 16 #include "content/browser/indexed_db/indexed_db_database.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" 18 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
19 19
20 namespace leveldb { 20 namespace leveldb {
21 class Iterator; 21 class Iterator;
22 } // namespace leveldb 22 } // namespace leveldb
23 23
24 namespace content { 24 namespace content {
25 25
26 class IndexedDBBackingStore; 26 class IndexedDBBackingStore;
27 class IndexedDBConnection; 27 class IndexedDBConnection;
28 class IndexedDBDatabaseCallbacks;
29 class IndexedDBFactory; 28 class IndexedDBFactory;
30 class IndexedDBTransaction; 29 class IndexedDBTransaction;
31 class LevelDBDatabase; 30 class LevelDBDatabase;
32 class LevelDBIteratorImpl; 31 class LevelDBIteratorImpl;
33 class LevelDBTransaction; 32 class LevelDBTransaction;
34 33
35 // Use this factory to create some IndexedDB objects. Exists solely to 34 // Use this factory to create some IndexedDB objects. Exists solely to
36 // facilitate tests which sometimes need to inject mock objects into the system. 35 // facilitate tests which sometimes need to inject mock objects into the system.
37 class CONTENT_EXPORT IndexedDBClassFactory { 36 class CONTENT_EXPORT IndexedDBClassFactory {
38 public: 37 public:
(...skipping 24 matching lines...) Expand all
63 62
64 protected: 63 protected:
65 IndexedDBClassFactory() {} 64 IndexedDBClassFactory() {}
66 virtual ~IndexedDBClassFactory() {} 65 virtual ~IndexedDBClassFactory() {}
67 friend struct base::DefaultLazyInstanceTraits<IndexedDBClassFactory>; 66 friend struct base::DefaultLazyInstanceTraits<IndexedDBClassFactory>;
68 }; 67 };
69 68
70 } // namespace content 69 } // namespace content
71 70
72 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CLASS_FACTORY_H_ 71 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CLASS_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_change_handler_impl.cc ('k') | content/browser/indexed_db/indexed_db_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698