/external/webkit/Source/WebKit2/WebProcess/ApplicationCache/ |
WebApplicationCacheManager.cpp | 61 HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash> origins; local 64 cacheStorage().getOriginsWithCache(origins); 68 identifiers.reserveCapacity(origins.size()); 70 HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash>::iterator end = origins.end(); 71 HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash>::iterator i = origins.begin();
|
/external/webkit/Source/WebKit/android/jni/ |
GeolocationPermissionsBridge.cpp | 44 GeolocationPermissions::OriginSet origins = GeolocationPermissions::getOrigins(); local 52 GeolocationPermissions::OriginSet::const_iterator end = origins.end(); 53 for (GeolocationPermissions::OriginSet::const_iterator iter = origins.begin(); iter != end; ++iter) {
|
/external/webkit/Source/WebKit2/WebProcess/ResourceCache/ |
WebResourceCacheManager.cpp | 68 MemoryCache::SecurityOriginSet origins; local 69 memoryCache()->getOriginsWithCache(origins); 78 origins.add(SecurityOrigin::create(httpString, host, 0)); 82 // Create a list with the origins in both of the caches. 84 identifiers.reserveCapacity(origins.size()); 86 MemoryCache::SecurityOriginSet::iterator end = origins.end(); 87 for (MemoryCache::SecurityOriginSet::iterator it = origins.begin(); it != end; ++it) {
|
/external/chromium/chrome/browser/ |
browsing_data_database_helper_browsertest.cc | 47 std::vector<webkit_database::OriginInfo> origins; local 48 db_tracker->GetAllOriginsInfo(&origins); 49 ASSERT_EQ(2U, origins.size());
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
WebDatabaseManager.cpp | 73 // to get both the origins and the Vector of DatabaseDetails for each origin in one 76 Vector<RefPtr<SecurityOrigin> > origins; local 77 DatabaseTracker::tracker().origins(origins); 80 originAndDatabasesVector.reserveInitialCapacity(origins.size()); 82 for (size_t i = 0; i < origins.size(); ++i) { 86 if (!DatabaseTracker::tracker().databaseNamesForOrigin(origins[i].get(), nameVector)) 92 DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(nameVector[j], origins[i].get()); 102 originAndDatabases.originIdentifier = origins[i]->databaseIdentifier(); 103 originAndDatabases.originQuota = DatabaseTracker::tracker().quotaForOrigin(origins[i].get()) 116 Vector<RefPtr<SecurityOrigin> > origins; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
SystemAllowGeolocationOrigins.java | 111 // Remove the origins in the last read value 114 // Add the origins in the new value 122 * @param setting A space-separated list of origins. 123 * @return A mutable set of origins. 126 HashSet<String> origins = new HashSet<String>(); local 130 origins.add(origin); 134 return origins; 153 * Gets the current system setting for default allowed geolocation origins. 155 * @return The default allowed origins. Returns {@code ""} if not set. 164 * Adds geolocation permissions for the given origins [all...] |
/external/webkit/Source/WebCore/storage/ |
StorageTracker.cpp | 123 if (!m_database.tableExists("Origins")) { 124 if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, path TEXT);")) 125 LOG_ERROR("Failed to create Origins table."); 156 SQLiteStatement statement(m_database, "SELECT origin FROM Origins"); 171 LOG_ERROR("Failed to read in all origins from the database."); 286 SQLiteStatement statement(m_database, "INSERT INTO Origins VALUES (?, ?)"); 311 void StorageTracker::origins(Vector<RefPtr<SecurityOrigin> >& result) function in class:WebCore::StorageTracker 355 SQLiteStatement statement(m_database, "SELECT origin, path FROM Origins"); 376 LOG_ERROR("Failed to read in all origins from the database."); 387 SQLiteStatement deleteStatement(m_database, "DELETE FROM Origins"); [all...] |
DatabaseTracker.cpp | 125 if (!m_database.tableExists("Origins")) { 126 if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, quota INTEGER NOT NULL ON CONFLICT FAIL);")) { 128 LOG_ERROR("Failed to create Origins table"); 346 SQLiteStatement statement(m_database, "SELECT origin, quota FROM Origins"); 360 LOG_ERROR("Failed to read in all origins from the database."); 363 void DatabaseTracker::origins(Vector<RefPtr<SecurityOrigin> >& result) function in class:WebCore::DatabaseTracker 669 SQLiteStatement statement(m_database, "INSERT INTO Origins VALUES (?, ?)"); 680 SQLiteStatement statement(m_database, "UPDATE Origins SET quota=? WHERE origin=?"); 738 origins(originsCopy); 792 SQLiteStatement originStatement(m_database, "DELETE FROM Origins WHERE origin=?") [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
GeolocationPermissions.cpp | 283 OriginSet origins; local 286 origins.add(iter->first); 287 return origins;
|
ChromeClientAndroid.cpp | 437 Vector<RefPtr<SecurityOrigin> > origins; local 438 tracker.origins(origins); 440 for (unsigned i = 0; i < origins.size(); i++) { 441 SecurityOrigin* originToReclaimFrom = origins[i].get();
|
/external/webkit/Source/WebKit/win/ |
WebDatabaseManager.cpp | 211 HRESULT STDMETHODCALLTYPE WebDatabaseManager::origins( function in class:WebDatabaseManager 222 Vector<RefPtr<SecurityOrigin> > origins; 223 DatabaseTracker::tracker().origins(origins); 224 COMPtr<COMEnumVariant<Vector<RefPtr<SecurityOrigin> > > > enumVariant(AdoptCOM, COMEnumVariant<Vector<RefPtr<SecurityOrigin> > >::adopt(origins));
|
/frameworks/base/core/java/android/webkit/ |
GeolocationPermissions.java | 79 private static final String ORIGINS = "origins"; 107 Set<String> origins = (Set<String>) values.get(ORIGINS); 109 callback.onReceiveValue(origins); 135 Set origins = nativeGetOrigins(); 139 values.put(ORIGINS, origins); 199 * Gets the set of origins for which Geolocation permissions are stored. 200 * Note that we represent the origins as strings. These are created usin 211 Set origins = nativeGetOrigins(); local [all...] |
WebViewCore.java | 1939 Collection<WebStorage.Origin> origins = webStorage.getOriginsSync(); local [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_service_unittest.cc | 2678 std::vector<webkit_database::OriginInfo> origins; local [all...] |