Searched defs:origin (Results 1 - 25 of 332) sorted by relevance

1234567891011>>

/external/chromium/chrome/common/
H A Dcontent_settings_helper.cc14 std::string OriginToString(const GURL& origin) { argument
15 std::string port_component(origin.IntPort() != url_parse::PORT_UNSPECIFIED ?
16 ":" + origin.port() : "");
17 std::string scheme_component(!origin.SchemeIs(chrome::kHttpScheme) ?
18 origin.scheme() + chrome::kStandardSchemeSeparator : "");
19 return scheme_component + origin.host() + port_component;
22 string16 OriginToString16(const GURL& origin) { argument
23 return UTF8ToUTF16(OriginToString(origin));
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebdatabase_p.h33 WTF::RefPtr<WebCore::SecurityOrigin> origin; member in class:QWebDatabasePrivate
H A Dqwebsecurityorigin_p.h31 origin = o;
36 WTF::RefPtr<WebCore::SecurityOrigin> origin; member in class:QWebSecurityOriginPrivate
/external/webkit/Source/WebKit/win/
H A DWebSecurityOrigin.h38 static WebSecurityOrigin* createInstance(WebCore::SecurityOrigin* origin);
39 static WebSecurityOrigin* createInstance(RefPtr<WebCore::SecurityOrigin> origin) { return createInstance(origin.get()); } argument
/external/webkit/Source/WebKit2/UIProcess/
H A DWebDatabaseManagerProxyClient.cpp33 void WebDatabaseManagerProxyClient::didModifyOrigin(WebDatabaseManagerProxy* databaseManager, WebSecurityOrigin* origin) argument
38 m_client.didModifyOrigin(toAPI(databaseManager), toAPI(origin), m_client.clientInfo);
41 void WebDatabaseManagerProxyClient::didModifyDatabase(WebDatabaseManagerProxy* databaseManager, WebSecurityOrigin* origin, const String& databaseIdentifier) argument
46 m_client.didModifyDatabase(toAPI(databaseManager), toAPI(origin), toAPI(databaseIdentifier.impl()), m_client.clientInfo);
/external/apache-http/src/org/apache/http/impl/cookie/
H A DAbstractCookieAttributeHandler.java40 public void validate(final Cookie cookie, final CookieOrigin origin) argument
45 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
H A DBasicDomainHandler.java59 public void validate(final Cookie cookie, final CookieOrigin origin) argument
64 if (origin == null) {
65 throw new IllegalArgumentException("Cookie origin may not be null");
71 // back to the origin-server.
72 String host = origin.getHost();
89 + "\". Domain of origin: \"" + host + "\"");
96 + "\". Domain of origin: \"" + host + "\"");
101 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
105 if (origin == null) {
106 throw new IllegalArgumentException("Cookie origin ma
[all...]
H A DBasicPathHandler.java56 public void validate(final Cookie cookie, final CookieOrigin origin) argument
58 if (!match(cookie, origin)) {
61 + "\". Path of origin: \"" + origin.getPath() + "\"");
65 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
69 if (origin == null) {
70 throw new IllegalArgumentException("Cookie origin may not be null");
72 String targetpath = origin.getPath();
H A DBasicSecureHandler.java53 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
57 if (origin == null) {
58 throw new IllegalArgumentException("Cookie origin may not be null");
60 return !cookie.isSecure() || origin.isSecure();
H A DBrowserCompatSpec.java103 public List<Cookie> parse(final Header header, final CookieOrigin origin) argument
108 if (origin == null) {
109 throw new IllegalArgumentException("Cookie origin may not be null");
150 return parse(elems, origin);
H A DCookieSpecBase.java54 protected static String getDefaultPath(final CookieOrigin origin) { argument
55 String defaultPath = origin.getPath();
67 protected static String getDefaultDomain(final CookieOrigin origin) { argument
68 return origin.getHost();
71 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin) argument
82 cookie.setPath(getDefaultPath(origin));
83 cookie.setDomain(getDefaultDomain(origin));
103 public void validate(final Cookie cookie, final CookieOrigin origin) argument
108 if (origin == null) {
109 throw new IllegalArgumentException("Cookie origin ma
116 match(final Cookie cookie, final CookieOrigin origin) argument
[all...]
H A DNetscapeDomainHandler.java47 public void validate(final Cookie cookie, final CookieOrigin origin) argument
49 super.validate(cookie, origin);
51 String host = origin.getHost();
91 public boolean match(Cookie cookie, CookieOrigin origin) { argument
95 if (origin == null) {
96 throw new IllegalArgumentException("Cookie origin may not be null");
98 String host = origin.getHost();
H A DNetscapeDraftSpec.java119 public List<Cookie> parse(final Header header, final CookieOrigin origin) argument
124 if (origin == null) {
125 throw new IllegalArgumentException("Cookie origin may not be null");
144 return parse(new HeaderElement[] { parser.parseHeader(buffer, cursor) }, origin);
H A DRFC2109DomainHandler.java61 public void validate(final Cookie cookie, final CookieOrigin origin) argument
66 if (origin == null) {
67 throw new IllegalArgumentException("Cookie origin may not be null");
69 String host = origin.getHost();
99 + "\". Domain of origin: \"" + host + "\"");
111 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
115 if (origin == null) {
116 throw new IllegalArgumentException("Cookie origin may not be null");
118 String host = origin.getHost();
H A DRFC2109VersionHandler.java64 public void validate(final Cookie cookie, final CookieOrigin origin) argument
H A DRFC2965CommentUrlAttributeHandler.java58 public void validate(final Cookie cookie, final CookieOrigin origin) argument
62 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
H A DRFC2965DiscardAttributeHandler.java58 public void validate(final Cookie cookie, final CookieOrigin origin) argument
62 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument
/external/chromium/chrome/browser/accessibility/
H A Dbrowser_accessibility_cocoa.h44 // The origin of this object in the page's document.
45 // This is relative to webkit's top-left origin, not Cocoa's
46 // bottom-left origin.
47 @property(nonatomic, readonly) NSPoint origin; variable
/external/chromium/net/ftp/
H A Dftp_auth_cache.h30 Entry(const GURL& origin, const string16& username,
34 const GURL origin; member in struct:net::FtpAuthCache::Entry
42 // Return Entry corresponding to given |origin| or NULL if not found.
43 Entry* Lookup(const GURL& origin);
45 // Add an entry for |origin| to the cache (consisting of |username| and
46 // |password|). If there is already an entry for |origin|, it will be
48 void Add(const GURL& origin, const string16& username,
51 // Remove the entry for |origin| from the cache, if one exists and matches
53 void Remove(const GURL& origin, const string16& username,
/external/chromium/webkit/glue/
H A Dform_data.h30 GURL origin; member in struct:webkit_glue::FormData
/external/webkit/Source/WebCore/page/
H A DSecurityOriginHash.h39 static unsigned hash(SecurityOrigin* origin) argument
42 origin->protocol().impl() ? origin->protocol().impl()->hash() : 0,
43 origin->host().impl() ? origin->host().impl()->hash() : 0,
44 origin->port()
48 static unsigned hash(const RefPtr<SecurityOrigin>& origin) argument
50 return hash(origin.get());
/external/webkit/Source/WebKit/chromium/src/
H A DStorageEventDispatcherChromium.cpp48 SecurityOrigin* origin, Frame* sourceFrame)
51 WebKit::webKitClient()->dispatchStorageEvent(key, oldValue, newValue, origin->toString(), WebKit::WebURL(), storageType == LocalStorage);
46 dispatch(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* origin, Frame* sourceFrame) argument
/external/webkit/Source/WebKit2/Shared/API/c/
H A DWKGeometry.h48 WKPoint origin; member in struct:WKRect
/external/apache-http/src/org/apache/http/cookie/
H A DCookieAttributeHandler.java62 * @param origin the cookie source to validate against
65 void validate(Cookie cookie, CookieOrigin origin) argument
73 * @param origin the cookie source to match against
76 boolean match(Cookie cookie, CookieOrigin origin); argument
H A DCookieSpec.java46 * for a given host, port and path of origin
72 * @param origin details of the cookie origin
76 List<Cookie> parse(Header header, CookieOrigin origin) throws MalformedCookieException; argument
83 * @param origin details of the cookie origin
86 void validate(Cookie cookie, CookieOrigin origin) throws MalformedCookieException; argument
92 * @param origin the target to test against
97 boolean match(Cookie cookie, CookieOrigin origin); argument

Completed in 1183 milliseconds

1234567891011>>