Home
last modified time | relevance | path

Searched refs:isUnique (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DSecurityOrigin.h146 bool canAccessDatabase() const { return !isUnique(); }; in canAccessDatabase()
147 bool canAccessLocalStorage() const { return !isUnique(); }; in canAccessLocalStorage()
148 bool canAccessSharedWorkers() const { return !isUnique(); } in canAccessSharedWorkers()
149 bool canAccessCookies() const { return !isUnique(); } in canAccessCookies()
150 bool canAccessPasswordManager() const { return !isUnique(); } in canAccessPasswordManager()
151 bool canAccessFileSystem() const { return !isUnique(); } in canAccessFileSystem()
157 bool canAccessSessionStorage() const { return !isUnique(); } in canAccessSessionStorage()
173 bool isUnique() const { return m_isUnique; } in isUnique() function
DSecurityOrigin.cpp199 ASSERT(origin->isUnique()); in createUnique()
235 if (isUnique() || other->isUnique()) in canAccess()
293 if (isUnique()) in canRequest()
298 if (targetOrigin->isUnique()) in canRequest()
393 if (isUnique()) in canShowNotifications()
448 if (isUnique()) in toString()
457 if (isUnique()) in toAtomicString()
DSecurityPolicy.cpp116 ASSERT(!sourceOrigin.isUnique()); in addOriginAccessWhitelistEntry()
117 if (sourceOrigin.isUnique()) in addOriginAccessWhitelistEntry()
132 ASSERT(!sourceOrigin.isUnique()); in removeOriginAccessWhitelistEntry()
133 if (sourceOrigin.isUnique()) in removeOriginAccessWhitelistEntry()
DSecurityOriginTest.cpp49 …EXPECT_TRUE(origin->isUnique()) << "Port " << ports[i] << " should have generated a unique origin.… in TEST()
59 …EXPECT_FALSE(origin->isUnique()) << "Port " << ports[i] << " should not have generated a unique or… in TEST()
DDatabaseIdentifierTest.cpp234 EXPECT_EQ(validCases[i].expectedUnique, origin->isUnique()) << "test case " << i; in TEST()
257 EXPECT_EQ(true, origin->isUnique()) << "test case " << i; in TEST()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElementData.h80 bool isUnique() const { return m_isUnique; } in isUnique() function
88 ElementData(const ElementData&, bool isUnique);
152 DEFINE_ELEMENT_DATA_TYPE_CASTS(ShareableElementData, !data->isUnique(), !data.isUnique());
186 DEFINE_ELEMENT_DATA_TYPE_CASTS(UniqueElementData, data->isUnique(), data.isUnique());
206 if (isUnique()) in attributes()
DElementData.cpp70 ElementData::ElementData(const ElementData& other, bool isUnique) in ElementData() argument
71 : m_isUnique(isUnique) in ElementData()
72 , m_arraySize(isUnique ? 0 : other.attributes().size()) in ElementData()
102 if (isUnique()) in makeUniqueCopy()
DSpaceSplitString.h72 bool isUnique() const { return m_keyString.isNull(); } in isUnique() function
93 if (m_data && !m_data->isUnique()) in ensureUnique()
DExecutionContext.cpp261 …Origin) && securityContext().securityOrigin() && !securityContext().securityOrigin()->isUnique()) { in enforceSandboxFlags()
/external/chromium_org/chrome/renderer/
Dcontent_settings_observer.cc264 if (frame->document().securityOrigin().isUnique() || in allowDatabase()
265 frame->top()->document().securityOrigin().isUnique()) in allowDatabase()
279 if (frame->document().securityOrigin().isUnique() || in requestFileSystemAccessAsync()
280 frame->top()->document().securityOrigin().isUnique()) { in requestFileSystemAccessAsync()
326 if (frame->document().securityOrigin().isUnique() || in allowIndexedDB()
327 frame->top()->document().securityOrigin().isUnique()) in allowIndexedDB()
392 if (frame->document().securityOrigin().isUnique() || in allowStorage()
393 frame->top()->document().securityOrigin().isUnique()) in allowStorage()
697 if (origin.isUnique()) in IsWhitelistedForContentSettings()
Dworker_permission_client_proxy.cc20 if (frame->document().securityOrigin().isUnique() || in WorkerPermissionClientProxy()
21 frame->top()->document().securityOrigin().isUnique()) in WorkerPermissionClientProxy()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSecurityOrigin.cpp92 bool WebSecurityOrigin::isUnique() const in isUnique() function in blink::WebSecurityOrigin
95 return m_private->isUnique(); in isUnique()
/external/jmdns/src/javax/jmdns/impl/
DDNSQuestion.java137 … answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL)); in addAnswers()
142 …tion = new Pointer(this.getName(), DNSRecordType.TYPE_PTR, this.getRecordClass(), this.isUnique()); in addAnswers()
198 … answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL)); in addAnswers()
203 …tion = new Pointer(this.getName(), DNSRecordType.TYPE_PTR, this.getRecordClass(), this.isUnique()); in addAnswers()
DDNSEntry.java142 public boolean isUnique() { in isUnique() method in DNSEntry
DDNSIncoming.java278 boolean unique = recordClass.isUnique(recordClassIndex); in readQuestion()
293 boolean unique = recordClass.isUnique(recordClassIndex); in readAnswer()
DDNSOutgoing.java157 …writeShort(rec.getRecordClass().indexValue() | ((rec.isUnique() && _out.isMulticast()) ? DNSRecord… in writeRecord()
DHostInfo.java162 …s hostAddress = this.getDNSAddressRecord(record.getRecordType(), record.isUnique(), DNSConstants.D… in conflictWithRecord()
/external/jmdns/src/javax/jmdns/impl/constants/
DDNSRecordClass.java101 public boolean isUnique(int index) { in isUnique() method in DNSRecordClass
/external/chromium_org/third_party/WebKit/Source/modules/quota/
DDeprecatedStorageQuota.cpp66 if (securityOrigin->isUnique()) { in queryUsageAndQuota()
DStorageQuota.cpp91 if (securityOrigin->isUnique()) { in queryInfo()
/external/chromium_org/third_party/WebKit/public/web/
DWebSecurityOrigin.h73 BLINK_EXPORT bool isUnique() const;
/external/chromium_org/content/renderer/media/
Dwebcontentdecryptionmodule_impl.cc59 if (security_origin.isUnique() || security_origin.toString() == "null") { in Create()
/external/chromium_org/content/renderer/shared_worker/
Dembedded_shared_worker_stub.cc164 origin.isUnique(), in createWorkerPermissionClientProxy()
/external/chromium_org/chrome/renderer/extensions/
Dapp_bindings.cc127 if (frame->document().securityOrigin().isUnique()) in GetDetailsForFrameImpl()
/external/chromium_org/extensions/renderer/
Ddispatcher.cc233 } else if (!frame->document().securityOrigin().isUnique()) { in GetExtensionFromFrameAndWorld()
1294 if (!origin.isUnique() && extensions_.ExtensionBindingsAllowed(url)) { in ClassifyJavaScriptContext()

12