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

Unified Diff: chrome/browser/in_process_webkit/indexed_db_context.h

Issue 4682002: Remove "name" field from indexed databases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/in_process_webkit/indexed_db_context.h
diff --git a/chrome/browser/in_process_webkit/indexed_db_context.h b/chrome/browser/in_process_webkit/indexed_db_context.h
index a8519fbd0c39ed809c2c99e0f0120551b555664b..6112d94ac5b516bc31820901587b572c0f5b90d0 100644
--- a/chrome/browser/in_process_webkit/indexed_db_context.h
+++ b/chrome/browser/in_process_webkit/indexed_db_context.h
@@ -15,7 +15,6 @@ class WebKitContext;
namespace WebKit {
class WebIDBFactory;
-class WebSecurityOrigin;
}
class IndexedDBContext {
@@ -31,17 +30,8 @@ class IndexedDBContext {
// The indexed db file extension.
static const FilePath::CharType kIndexedDBExtension[];
- // Get the file name of the indexed db file for the given origin and database
- // name.
- FilePath GetIndexedDBFilePath(const string16& database_name,
- const WebKit::WebSecurityOrigin& origin) const;
-
- // Splits an indexed database file name into a security origin and a
- // database name.
- static bool SplitIndexedDBFileName(
- const FilePath& file_name,
- std::string* database_name,
- WebKit::WebSecurityOrigin* security_origin);
+ // Get the file name of the indexed db file for the given origin.
+ FilePath GetIndexedDBFilePath(const string16& origin_id) const;
private:
scoped_ptr<WebKit::WebIDBFactory> idb_factory_;
« no previous file with comments | « chrome/browser/in_process_webkit/indexed_db_browsertest.cc ('k') | chrome/browser/in_process_webkit/indexed_db_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698