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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 18 matching lines...) Expand all
29 explicit IndexedDBFactory(IndexedDBContextImpl* context); 29 explicit IndexedDBFactory(IndexedDBContextImpl* context);
30 30
31 // Notifications from weak pointers. 31 // Notifications from weak pointers.
32 void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier, 32 void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier,
33 const GURL& origin_url, 33 const GURL& origin_url,
34 bool forcedClose); 34 bool forcedClose);
35 35
36 void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks, 36 void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks,
37 const GURL& origin_url, 37 const GURL& origin_url,
38 const base::FilePath& data_directory); 38 const base::FilePath& data_directory);
39 void Open(const string16& name, 39 void Open(const base::string16& name,
40 int64 version, 40 int64 version,
41 int64 transaction_id, 41 int64 transaction_id,
42 scoped_refptr<IndexedDBCallbacks> callbacks, 42 scoped_refptr<IndexedDBCallbacks> callbacks,
43 scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks, 43 scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks,
44 const GURL& origin_url, 44 const GURL& origin_url,
45 const base::FilePath& data_directory); 45 const base::FilePath& data_directory);
46 46
47 void DeleteDatabase(const string16& name, 47 void DeleteDatabase(const base::string16& name,
48 scoped_refptr<IndexedDBCallbacks> callbacks, 48 scoped_refptr<IndexedDBCallbacks> callbacks,
49 const GURL& origin_url, 49 const GURL& origin_url,
50 const base::FilePath& data_directory); 50 const base::FilePath& data_directory);
51 51
52 void HandleBackingStoreFailure(const GURL& origin_url); 52 void HandleBackingStoreFailure(const GURL& origin_url);
53 53
54 // Iterates over all databases; for diagnostics only. 54 // Iterates over all databases; for diagnostics only.
55 std::vector<IndexedDBDatabase*> GetOpenDatabasesForOrigin( 55 std::vector<IndexedDBDatabase*> GetOpenDatabasesForOrigin(
56 const GURL& origin_url) const; 56 const GURL& origin_url) const;
57 57
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 typedef std::map<GURL, scoped_refptr<IndexedDBBackingStore> > 90 typedef std::map<GURL, scoped_refptr<IndexedDBBackingStore> >
91 IndexedDBBackingStoreMap; 91 IndexedDBBackingStoreMap;
92 IndexedDBBackingStoreMap backing_store_map_; 92 IndexedDBBackingStoreMap backing_store_map_;
93 93
94 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_; 94 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_;
95 }; 95 };
96 96
97 } // namespace content 97 } // namespace content
98 98
99 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ 99 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_error.h ('k') | content/browser/indexed_db/indexed_db_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698