/external/chromium_org/content/child/ |
db_message_filter.h | 25 void OnDatabaseUpdateSize(const std::string& origin_identifier, 28 void OnDatabaseUpdateSpaceAvailable(const std::string& origin_identifier, 30 void OnDatabaseResetSpaceAvailable(const std::string& origin_identifier); 31 void OnDatabaseCloseImmediately(const std::string& origin_identifier,
|
web_database_observer_impl.h | 21 const blink::WebString& origin_identifier, 26 const blink::WebString& origin_identifier, 29 const blink::WebString& origin_identifier, 32 const blink::WebString& origin_identifier, 37 const blink::WebString& origin_identifier, 42 const blink::WebString& origin_identifier, 47 const blink::WebString& origin_identifier, 52 const blink::WebString& origin_identifier, 57 const blink::WebString& origin_identifier, 65 void HandleSqliteError(const blink::WebString& origin_identifier, [all...] |
web_database_observer_impl.cc | 76 const WebString& origin_identifier, 80 open_connections_->AddOpenConnection(origin_identifier.utf8(), 83 origin_identifier.utf8(), database_name, 88 const WebString& origin_identifier, 91 origin_identifier.utf8(), database_name)); 95 const WebString& origin_identifier, 98 origin_identifier.utf8(), database_name)); 99 open_connections_->RemoveOpenConnection(origin_identifier.utf8(), 104 const WebString& origin_identifier, 110 HandleSqliteError(origin_identifier, database_name, sqlite_error) [all...] |
db_message_filter.cc | 33 void DBMessageFilter::OnDatabaseUpdateSize(const std::string& origin_identifier, 37 WebString::fromUTF8(origin_identifier), database_name, database_size); 41 const std::string& origin_identifier, 44 WebString::fromUTF8(origin_identifier), space_available); 48 const std::string& origin_identifier) { 50 WebString::fromUTF8(origin_identifier)); 54 const std::string& origin_identifier, 57 WebString::fromUTF8(origin_identifier), database_name);
|
database_util.h | 34 const blink::WebString& origin_identifier,
|
database_util.cc | 61 const WebString& origin_identifier, 65 filter->Send(new DatabaseHostMsg_GetSpaceAvailable(origin_identifier.utf8(),
|
/external/chromium_org/webkit/browser/database/ |
database_util.cc | 17 std::string* origin_identifier, 20 // 'vfs_file_name' is of the form <origin_identifier>/<db_name>#<suffix>. 26 // with a '/' (origin_identifier cannot be empty) and '/' must come before '#' 34 if (origin_identifier) { 35 *origin_identifier = UTF16ToASCII( 51 std::string origin_identifier; local 54 if (!CrackVfsFileName(vfs_file_name, &origin_identifier, 60 origin_identifier, database_name); 74 const std::string& origin_identifier) { 78 std::string::size_type pos = origin_identifier.find(dotdot) [all...] |
database_tracker.h | 66 OriginInfo(const std::string& origin_identifier, int64 total_size); 88 virtual void OnDatabaseSizeChanged(const std::string& origin_identifier, 92 const std::string& origin_identifier, 105 void DatabaseOpened(const std::string& origin_identifier, 110 void DatabaseModified(const std::string& origin_identifier, 112 void DatabaseClosed(const std::string& origin_identifier, 114 void HandleSqliteError(const std::string& origin_identifier, 126 base::FilePath GetFullDBFilePath(const std::string& origin_identifier, 139 bool IsDatabaseScheduledForDeletion(const std::string& origin_identifier, 145 int DeleteDatabase(const std::string& origin_identifier, [all...] |
databases_table_unittest.cc | 19 EXPECT_EQ(d1.origin_identifier, d2.origin_identifier); 54 details_in1.origin_identifier = "origin1"; 62 details_in1.origin_identifier, 69 details_in1.origin_identifier, 72 EXPECT_EQ(1, databases_table.GetDatabaseID(details_in1.origin_identifier, 83 details_in2.origin_identifier = "origin1"; 88 EXPECT_EQ(2, databases_table.GetDatabaseID(details_in2.origin_identifier, 93 details_in3.origin_identifier = "origin2"; 98 EXPECT_EQ(3, databases_table.GetDatabaseID(details_in3.origin_identifier, [all...] |
databases_table.cc | 40 int64 DatabasesTable::GetDatabaseID(const std::string& origin_identifier, 44 select_statement.BindString(0, origin_identifier); 54 bool DatabasesTable::GetDatabaseDetails(const std::string& origin_identifier, 61 select_statement.BindString(0, origin_identifier); 65 details->origin_identifier = origin_identifier; 79 insert_statement.BindString(0, details.origin_identifier); 93 update_statement.BindString(2, details.origin_identifier); 100 const std::string& origin_identifier, 104 delete_statement.BindString(0, origin_identifier); [all...] |
database_util.h | 28 std::string* origin_identifier, 34 static bool IsValidOriginIdentifier(const std::string& origin_identifier);
|
databases_table.h | 23 std::string origin_identifier; member in struct:webkit_database::DatabaseDetails 34 int64 GetDatabaseID(const std::string& origin_identifier, 36 bool GetDatabaseDetails(const std::string& origin_identifier, 41 bool DeleteDatabaseDetails(const std::string& origin_identifier, 45 const std::string& origin_identifier, 47 bool DeleteOriginIdentifier(const std::string& origin_identifier);
|
database_tracker.cc | 79 OriginInfo::OriginInfo(const std::string& origin_identifier, int64 total_size) 80 : origin_identifier_(origin_identifier), total_size_(total_size) {} 112 void DatabaseTracker::DatabaseOpened(const std::string& origin_identifier, 125 webkit_database::GetOriginFromIdentifier(origin_identifier), 128 InsertOrUpdateDatabaseDetails(origin_identifier, database_name, 130 if (database_connections_.AddConnection(origin_identifier, database_name)) { 131 *database_size = SeedOpenDatabaseInfo(origin_identifier, 136 *database_size = UpdateOpenDatabaseInfoAndNotify(origin_identifier, 141 void DatabaseTracker::DatabaseModified(const std::string& origin_identifier, 145 UpdateOpenDatabaseSizeAndNotify(origin_identifier, database_name) [all...] |
database_util_unittest.cc | 18 std::string origin_identifier; local 23 &origin_identifier, 26 EXPECT_EQ(expected_origin_identifier, origin_identifier);
|
database_quota_client_unittest.cc | 36 const std::string& origin_identifier, 40 webkit_database::GetOriginFromIdentifier(origin_identifier)); 70 const std::string& origin_identifier, 103 void set_origin(const std::string& origin_identifier) { 104 origin_identifier_ = origin_identifier;
|
/external/chromium_org/webkit/common/database/ |
database_connections.h | 29 bool IsDatabaseOpened(const std::string& origin_identifier, 31 bool IsOriginUsed(const std::string& origin_identifier) const; 34 bool AddConnection(const std::string& origin_identifier, 38 bool RemoveConnection(const std::string& origin_identifier, 47 int64 GetOpenDatabaseSize(const std::string& origin_identifier, 49 void SetOpenDatabaseSize(const std::string& origin_identifier, 64 bool RemoveConnectionsHelper(const std::string& origin_identifier, 83 void AddOpenConnection(const std::string& origin_identifier, 85 void RemoveOpenConnection(const std::string& origin_identifier,
|
database_connections.cc | 27 const std::string& origin_identifier, 30 connections_.find(origin_identifier); 38 const std::string& origin_identifier) const { 39 return (connections_.find(origin_identifier) != connections_.end()); 43 const std::string& origin_identifier, 45 int& count = connections_[origin_identifier][database_name].first; 50 const std::string& origin_identifier, 52 return RemoveConnectionsHelper(origin_identifier, database_name, 1); 77 const std::string& origin_identifier, 79 DCHECK(IsDatabaseOpened(origin_identifier, database_name)) [all...] |
/external/chromium_org/content/browser/renderer_host/ |
database_message_filter.h | 56 void OnDatabaseGetSpaceAvailable(const std::string& origin_identifier, 64 void OnDatabaseOpened(const std::string& origin_identifier, 68 void OnDatabaseModified(const std::string& origin_identifier, 70 void OnDatabaseClosed(const std::string& origin_identifier, 72 void OnHandleSqliteError(const std::string& origin_identifier, 77 virtual void OnDatabaseSizeChanged(const std::string& origin_identifier, 81 const std::string& origin_identifier,
|
database_message_filter.cc | 122 std::string origin_identifier; local 133 } else if (DatabaseUtil::CrackVfsFileName(vfs_file_name, &origin_identifier, 135 !db_tracker_->IsDatabaseScheduledForDeletion(origin_identifier, 249 const std::string& origin_identifier, IPC::Message* reply_msg) { 264 webkit_database::GetOriginFromIdentifier(origin_identifier), 283 const std::string& origin_identifier, 289 if (!DatabaseUtil::IsValidOriginIdentifier(origin_identifier)) { 296 db_tracker_->DatabaseOpened(origin_identifier, database_name, description, 298 database_connections_.AddConnection(origin_identifier, database_name); 299 Send(new DatabaseMsg_UpdateSize(origin_identifier, database_name [all...] |
/external/chromium/chrome/browser/ |
browsing_data_database_helper.cc | 27 const std::string& origin_identifier, 34 origin_identifier(origin_identifier), 44 return StartsWithASCII(origin_identifier, 89 const std::string origin_identifier(UTF16ToUTF8(ori->GetOrigin())); 90 if (StartsWithASCII(origin_identifier, 109 origin_identifier, 216 std::string origin_identifier = local 222 if (database->origin_identifier == origin_identifier & [all...] |
browsing_data_database_helper_browsertest.cc | 71 database_info_list.at(0).origin_identifier); 113 EXPECT_STREQ(origin_str1, result[0].origin_identifier.c_str()); 115 EXPECT_STREQ(origin_str1, result[1].origin_identifier.c_str()); 117 EXPECT_STREQ(origin_str2, result[2].origin_identifier.c_str()); 139 EXPECT_STREQ(origin_str, result[0].origin_identifier.c_str());
|
browsing_data_database_helper.h | 36 const std::string& origin_identifier, 47 std::string origin_identifier; member in struct:BrowsingDataDatabaseHelper::DatabaseInfo
|
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_database_helper.h | 57 virtual void DeleteDatabase(const std::string& origin_identifier,
|
/external/chromium_org/content/worker/ |
worker_webkitplatformsupport_impl.h | 73 const blink::WebString& origin_identifier);
|
worker_webkitplatformsupport_impl.cc | 207 const WebString& origin_identifier) { 208 return DatabaseUtil::DatabaseGetSpaceAvailable(origin_identifier,
|