Home
last modified time | relevance | path

Searched refs:SecurityOrigin (Results 1 – 25 of 224) sorted by relevance

123456789

/external/webkit/Source/WebCore/storage/
DDatabaseTracker.h49 class SecurityOrigin; variable
72 …void setDatabaseDetails(SecurityOrigin*, const String& name, const String& displayName, unsigned l…
73 … String fullPathForDatabase(SecurityOrigin*, const String& name, bool createIfDoesNotExist = true);
77 …void getOpenDatabases(SecurityOrigin* origin, const String& name, HashSet<RefPtr<AbstractDatabase>…
89 typedef HashMap<RefPtr<SecurityOrigin>, DatabaseNameMap*, SecurityOriginHash> DatabaseOriginMap;
99 void origins(Vector<RefPtr<SecurityOrigin> >& result);
100 bool databaseNamesForOrigin(SecurityOrigin*, Vector<String>& result);
102 DatabaseDetails detailsForNameAndOrigin(const String&, SecurityOrigin*);
104 unsigned long long usageForDatabase(const String&, SecurityOrigin*);
105 unsigned long long usageForOrigin(SecurityOrigin*);
[all …]
DOriginQuotaManager.h53 void trackOrigin(PassRefPtr<SecurityOrigin>);
54 bool tracksOrigin(SecurityOrigin*) const;
55 void addDatabase(SecurityOrigin*, const String& databaseIdentifier, const String& fullPath);
56 void removeDatabase(SecurityOrigin*, const String& databaseIdentifier);
57 void removeOrigin(SecurityOrigin*);
60 unsigned long long diskUsage(SecurityOrigin*) const;
68 typedef HashMap<RefPtr<SecurityOrigin>, OriginUsageRecord*, SecurityOriginHash> OriginUsageMap;
DDatabaseTracker.cpp141 SecurityOrigin* origin = context->securityOrigin(); in canEstablishDatabase()
193 bool DatabaseTracker::hasEntryForOriginNoLock(SecurityOrigin* origin) in hasEntryForOriginNoLock()
200 bool DatabaseTracker::hasEntryForOrigin(SecurityOrigin* origin) in hasEntryForOrigin()
206 bool DatabaseTracker::hasEntryForDatabase(SecurityOrigin* origin, const String& databaseIdentifier) in hasEntryForDatabase()
229 SecurityOrigin* origin = database->securityOrigin(); in getMaxSizeForDatabase()
268 String DatabaseTracker::originPath(SecurityOrigin* origin) const in originPath()
273 String DatabaseTracker::fullPathForDatabaseNoLock(SecurityOrigin* origin, const String& name, bool … in fullPathForDatabaseNoLock()
326 String DatabaseTracker::fullPathForDatabase(SecurityOrigin* origin, const String& name, bool create… in fullPathForDatabase()
355 …RefPtr<SecurityOrigin> origin = SecurityOrigin::createFromDatabaseIdentifier(statement.getColumnTe… in populateOrigins()
363 void DatabaseTracker::origins(Vector<RefPtr<SecurityOrigin> >& result) in origins()
[all …]
DOriginQuotaManager.cpp73 void OriginQuotaManager::trackOrigin(PassRefPtr<SecurityOrigin> origin) in trackOrigin()
81 bool OriginQuotaManager::tracksOrigin(SecurityOrigin* origin) const in tracksOrigin()
87 void OriginQuotaManager::addDatabase(SecurityOrigin* origin, const String& databaseIdentifier, cons… in addDatabase()
97 void OriginQuotaManager::removeDatabase(SecurityOrigin* origin, const String& databaseIdentifier) in removeDatabase()
105 void OriginQuotaManager::removeOrigin(SecurityOrigin* origin) in removeOrigin()
125 unsigned long long OriginQuotaManager::diskUsage(SecurityOrigin* origin) const in diskUsage()
DStorageAreaImpl.h38 class SecurityOrigin; variable
44 …static PassRefPtr<StorageAreaImpl> create(StorageType, PassRefPtr<SecurityOrigin>, PassRefPtr<Stor…
68 …StorageAreaImpl(StorageType, PassRefPtr<SecurityOrigin>, PassRefPtr<StorageSyncManager>, unsigned …
74 RefPtr<SecurityOrigin> m_securityOrigin;
DDatabaseTrackerClient.h37 class SecurityOrigin; variable
42 virtual void dispatchDidModifyOrigin(SecurityOrigin*) = 0;
43 virtual void dispatchDidModifyDatabase(SecurityOrigin*, const String& databaseName) = 0;
/external/webkit/Source/WebCore/page/
DSecurityOrigin.cpp42 static SecurityOrigin::LocalLoadPolicy localLoadPolicy = SecurityOrigin::AllowLocalLoadsForLocalOnl…
68 SecurityOrigin::SecurityOrigin(const KURL& url, SandboxFlags sandboxFlags) in SecurityOrigin() function in WebCore::SecurityOrigin
132 SecurityOrigin::SecurityOrigin(const SecurityOrigin* other) in SecurityOrigin() function in WebCore::SecurityOrigin
148 bool SecurityOrigin::isEmpty() const in isEmpty()
153 PassRefPtr<SecurityOrigin> SecurityOrigin::create(const KURL& url, SandboxFlags sandboxFlags) in create()
156 return adoptRef(new SecurityOrigin(KURL(), sandboxFlags)); in create()
157 return adoptRef(new SecurityOrigin(url, sandboxFlags)); in create()
160 PassRefPtr<SecurityOrigin> SecurityOrigin::createEmpty() in createEmpty()
165 PassRefPtr<SecurityOrigin> SecurityOrigin::threadsafeCopy() in threadsafeCopy()
167 return adoptRef(new SecurityOrigin(this)); in threadsafeCopy()
[all …]
DSecurityOrigin.h41 class SecurityOrigin : public ThreadSafeRefCounted<SecurityOrigin> {
43 static PassRefPtr<SecurityOrigin> createFromDatabaseIdentifier(const String&);
44 static PassRefPtr<SecurityOrigin> createFromString(const String&);
45 static PassRefPtr<SecurityOrigin> create(const String& protocol, const String& host, int port);
46 static PassRefPtr<SecurityOrigin> create(const KURL&, SandboxFlags = SandboxNone);
47 static PassRefPtr<SecurityOrigin> createEmpty();
51 PassRefPtr<SecurityOrigin> threadsafeCopy();
71 bool canAccess(const SecurityOrigin*) const;
86 bool canReceiveDragData(const SecurityOrigin* dragInitiator) const;
175 bool equal(const SecurityOrigin*) const;
[all …]
DSecurityOriginHash.h39 static unsigned hash(SecurityOrigin* origin) in hash()
48 static unsigned hash(const RefPtr<SecurityOrigin>& origin) in hash()
53 static bool equal(SecurityOrigin* a, SecurityOrigin* b) in equal()
63 static bool equal(SecurityOrigin* a, const RefPtr<SecurityOrigin>& b) in equal()
67 static bool equal(const RefPtr<SecurityOrigin>& a, SecurityOrigin* b) in equal()
71 static bool equal(const RefPtr<SecurityOrigin>& a, const RefPtr<SecurityOrigin>& b) in equal()
DFrameLoadRequest.h36 explicit FrameLoadRequest(PassRefPtr<SecurityOrigin> requester) in FrameLoadRequest()
41 … FrameLoadRequest(PassRefPtr<SecurityOrigin> requester, const ResourceRequest& resourceRequest) in FrameLoadRequest()
47 …FrameLoadRequest(PassRefPtr<SecurityOrigin> requester, const ResourceRequest& resourceRequest, con… in FrameLoadRequest()
56 const SecurityOrigin* requester() const { return m_requester.get(); } in requester()
65 RefPtr<SecurityOrigin> m_requester;
DContentSecurityPolicy.h37 class SecurityOrigin; variable
41 static PassRefPtr<ContentSecurityPolicy> create(SecurityOrigin* origin = 0)
62 explicit ContentSecurityPolicy(SecurityOrigin*);
71 RefPtr<SecurityOrigin> m_origin;
/external/webkit/Source/WebKit/android/jni/
DWebStorage.cpp45 Vector<RefPtr<WebCore::SecurityOrigin> > coreOrigins; in GetOrigins()
51 … RefPtr<WebCore::SecurityOrigin> manifestOrigin = WebCore::SecurityOrigin::create(manifestUrls[i]); in GetOrigins()
65 WebCore::SecurityOrigin* origin = coreOrigins[i].get(); in GetOrigins()
78 …RefPtr<WebCore::SecurityOrigin> securityOrigin = WebCore::SecurityOrigin::createFromString(originS… in GetQuotaForOrigin()
86 …RefPtr<WebCore::SecurityOrigin> securityOrigin = WebCore::SecurityOrigin::createFromString(originS… in GetUsageForOrigin()
93 … RefPtr<WebCore::SecurityOrigin> manifestOrigin = WebCore::SecurityOrigin::create(manifestUrls[i]); in GetUsageForOrigin()
108 …RefPtr<WebCore::SecurityOrigin> securityOrigin = WebCore::SecurityOrigin::createFromString(originS… in SetQuotaForOrigin()
115 …RefPtr<WebCore::SecurityOrigin> securityOrigin = WebCore::SecurityOrigin::createFromString(originS… in DeleteOrigin()
123 … RefPtr<WebCore::SecurityOrigin> manifestOrigin = WebCore::SecurityOrigin::create(manifestUrls[i]); in DeleteOrigin()
/external/webkit/Source/WebKit/chromium/src/
DWebSecurityOrigin.cpp44 class WebSecurityOriginPrivate : public SecurityOrigin {
49 return WebSecurityOrigin(SecurityOrigin::createFromDatabaseIdentifier(databaseIdentifier)); in createFromDatabaseIdentifier()
54 return WebSecurityOrigin(SecurityOrigin::createFromString(origin)); in createFromString()
59 return WebSecurityOrigin(SecurityOrigin::create(url)); in create()
130 WebSecurityOrigin::WebSecurityOrigin(const WTF::PassRefPtr<WebCore::SecurityOrigin>& origin) in WebSecurityOrigin()
135 WebSecurityOrigin& WebSecurityOrigin::operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>& ori… in operator =()
141 WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const in operator WTF::PassRefPtr<WebCore::SecurityOrigin>()
143 return PassRefPtr<SecurityOrigin>(const_cast<WebSecurityOriginPrivate*>(m_private)); in operator WTF::PassRefPtr<WebCore::SecurityOrigin>()
146 SecurityOrigin* WebSecurityOrigin::get() const in get()
DWebSecurityPolicy.cpp71 SecurityOrigin::addOriginAccessWhitelistEntry( in addOriginAccessWhitelistEntry()
72 *SecurityOrigin::create(sourceOrigin), destinationProtocol, in addOriginAccessWhitelistEntry()
82 SecurityOrigin::removeOriginAccessWhitelistEntry( in removeOriginAccessWhitelistEntry()
83 *SecurityOrigin::create(sourceOrigin), destinationProtocol, in removeOriginAccessWhitelistEntry()
89 SecurityOrigin::resetOriginAccessWhitelists(); in resetOriginAccessWhitelists()
94 return SecurityOrigin::shouldHideReferrer(url, referrer); in shouldHideReferrer()
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebSecurityOrigin.mm36 #import <WebCore/SecurityOrigin.h>
47 RefPtr<SecurityOrigin> origin = SecurityOrigin::create(KURL([url absoluteURL]));
56 return reinterpret_cast<SecurityOrigin*>(_private)->protocol();
61 return reinterpret_cast<SecurityOrigin*>(_private)->host();
66 return reinterpret_cast<SecurityOrigin*>(_private)->databaseIdentifier();
77 return reinterpret_cast<SecurityOrigin*>(_private)->port();
92 reinterpret_cast<SecurityOrigin*>(_private)->deref();
103 reinterpret_cast<SecurityOrigin*>(_private)->deref();
111 - (id)_initWithWebCoreSecurityOrigin:(SecurityOrigin*)origin
124 - (SecurityOrigin *)_core
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebDatabaseManager.cpp76 Vector<RefPtr<SecurityOrigin> > origins; in getDatabasesByOrigin()
116 Vector<RefPtr<SecurityOrigin> > origins; in getDatabaseOrigins()
131 RefPtr<SecurityOrigin> origin = SecurityOrigin::createFromDatabaseIdentifier(originIdentifier); in deleteDatabaseWithNameForOrigin()
142 RefPtr<SecurityOrigin> origin = SecurityOrigin::createFromDatabaseIdentifier(originIdentifier); in deleteDatabasesForOrigin()
164 RefPtr<SecurityOrigin> origin = SecurityOrigin::createFromDatabaseIdentifier(originIdentifier); in setQuotaForOrigin()
171 void WebDatabaseManager::dispatchDidModifyOrigin(SecurityOrigin* origin) in dispatchDidModifyOrigin()
177 void WebDatabaseManager::dispatchDidModifyDatabase(WebCore::SecurityOrigin* origin, const String& d… in dispatchDidModifyDatabase()
/external/webkit/Source/WebKit2/Shared/
DWebSecurityOrigin.h41 …RefPtr<WebCore::SecurityOrigin> securityOrigin = WebCore::SecurityOrigin::createFromDatabaseIdenti… in create()
49 …RefPtr<WebCore::SecurityOrigin> securityOrigin = WebCore::SecurityOrigin::create(protocol, host, p… in create()
62 WebSecurityOrigin(PassRefPtr<WebCore::SecurityOrigin> securityOrigin) in WebSecurityOrigin()
69 RefPtr<WebCore::SecurityOrigin> m_securityOrigin;
/external/webkit/Source/WebKit2/WebProcess/ApplicationCache/
DWebApplicationCacheManager.cpp61 HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash> origins; in getApplicationCacheOrigins()
70 HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash>::iterator end = origins.end(); in getApplicationCacheOrigins()
71 HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash>::iterator i = origins.begin(); in getApplicationCacheOrigins()
73 RefPtr<SecurityOrigin> origin = *i; in getApplicationCacheOrigins()
91 …RefPtr<SecurityOrigin> origin = SecurityOrigin::create(originData.protocol, originData.host, origi… in deleteEntriesForOrigin()
/external/webkit/Source/WebCore/loader/appcache/
DApplicationCacheStorage.h47 class SecurityOrigin; variable
68 bool usageForOrigin(const SecurityOrigin*, int64_t& usage);
69 bool quotaForOrigin(const SecurityOrigin*, int64_t& quota);
70 …bool remainingSizeForOriginExcludingCache(const SecurityOrigin*, ApplicationCache*, int64_t& remai…
71 bool storeUpdatedQuotaForOrigin(const SecurityOrigin*, int64_t quota);
98 void getOriginsWithCache(HashSet<RefPtr<SecurityOrigin>, SecurityOriginHash>&);
115 bool ensureOriginRecord(const SecurityOrigin*);
/external/webkit/Source/WebKit/win/
DWebSecurityOrigin.h38 static WebSecurityOrigin* createInstance(WebCore::SecurityOrigin* origin);
39 …static WebSecurityOrigin* createInstance(RefPtr<WebCore::SecurityOrigin> origin) { return createIn… in createInstance()
40 WebCore::SecurityOrigin* securityOrigin() const { return m_securityOrigin.get(); } in securityOrigin()
71 WebSecurityOrigin(WebCore::SecurityOrigin*);
75 RefPtr<WebCore::SecurityOrigin> m_securityOrigin;
DWebDatabaseManager.cpp197 …<> struct COMVariantSetter<RefPtr<SecurityOrigin> > : COMIUnknownVariantSetter<WebSecurityOrigin, …
222 Vector<RefPtr<SecurityOrigin> > origins; in origins()
224 …Ptr<COMEnumVariant<Vector<RefPtr<SecurityOrigin> > > > enumVariant(AdoptCOM, COMEnumVariant<Vector… in origins()
335 static void dispatchToMainThread(WebDatabaseManager* databaseManager, SecurityOrigin* origin) in dispatchToMainThread()
342 DidModifyOriginData(WebDatabaseManager* databaseManager, PassRefPtr<SecurityOrigin> origin) in DidModifyOriginData()
357 RefPtr<SecurityOrigin> origin;
360 void WebDatabaseManager::dispatchDidModifyOrigin(SecurityOrigin* origin) in dispatchDidModifyOrigin()
384 DatabaseTracker::tracker().setQuota(SecurityOrigin::createFromString(origin).get(), quota); in setQuota()
389 void WebDatabaseManager::dispatchDidModifyDatabase(SecurityOrigin* origin, const String& databaseNa… in dispatchDidModifyDatabase()
/external/webkit/Source/WebKit/chromium/public/
DWebSecurityOrigin.h37 namespace WebCore { class SecurityOrigin; } variable
100 WebSecurityOrigin(const WTF::PassRefPtr<WebCore::SecurityOrigin>&);
101 WebSecurityOrigin& operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>&);
102 operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const;
103 WebCore::SecurityOrigin* get() const;
/external/webkit/Source/WebCore/loader/
DPingLoader.cpp58 if (!SecurityOrigin::shouldHideReferrer(request.url(), frame->loader()->outgoingReferrer())) in loadImage()
79 SecurityOrigin* sourceOrigin = frame->document()->securityOrigin(); in sendPing()
80 RefPtr<SecurityOrigin> pingOrigin = SecurityOrigin::create(pingURL); in sendPing()
85 else if (!SecurityOrigin::shouldHideReferrer(pingURL, frame->loader()->outgoingReferrer())) in sendPing()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitsecurityoriginprivate.h31 WebKitSecurityOrigin* kit(WebCore::SecurityOrigin*);
32 WebCore::SecurityOrigin* core(WebKitSecurityOrigin*);
39 RefPtr<WebCore::SecurityOrigin> coreOrigin;
/external/webkit/Source/WebKit/mac/Storage/
DWebStorageTrackerClient.mm33 #import <WebCore/SecurityOrigin.h>
57 RefPtr<SecurityOrigin> origin = adoptRef(static_cast<SecurityOrigin*>(context));
61 void WebStorageTrackerClient::dispatchDidModifyOrigin(PassRefPtr<SecurityOrigin> origin)
71 …PassRefPtr<SecurityOrigin> origin = SecurityOrigin::createFromDatabaseIdentifier(originIdentifier);

123456789