HomeSort by relevance Sort by last modified time
    Searched refs:origin (Results 1 - 25 of 1731) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/prerender/
prerender_origin.cc 34 const char* NameFromOrigin(Origin origin) {
35 DCHECK(static_cast<int>(origin) >= 0 &&
36 origin <= ORIGIN_MAX);
37 return kOriginNames[origin];
prerender_histograms.h 35 void RecordPerceivedPageLoadTime(Origin origin,
44 void RecordPercentLoadDoneAtSwapin(Origin origin, double fraction) const;
48 void RecordPageLoadTimeNotSwappedIn(Origin origin,
54 void RecordTimeUntilUsed(Origin origin,
58 void RecordPerSessionCount(Origin origin, int count) const
    [all...]
  /external/chromium/chrome/common/
content_settings_helper.cc 14 std::string OriginToString(const GURL& origin) {
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) {
23 return UTF8ToUTF16(OriginToString(origin));
content_settings_helper.h 17 // Return simplified string representing origin. If origin is using http or
19 std::string OriginToString(const GURL& origin);
20 string16 OriginToString16(const GURL& origin);
  /external/chromium_org/webkit/browser/quota/
mock_special_storage_policy.cc 15 bool MockSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
16 return ContainsKey(protected_, origin);
19 bool MockSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
22 return ContainsKey(unlimited_, origin);
25 bool MockSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) {
26 return ContainsKey(session_only_, origin);
29 bool MockSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
30 return ContainsKey(can_query_disk_size_, origin);
37 bool MockSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) {
38 return ContainsKey(isolated_, origin);
    [all...]
mock_special_storage_policy.h 20 virtual bool IsStorageProtected(const GURL& origin) OVERRIDE;
21 virtual bool IsStorageUnlimited(const GURL& origin) OVERRIDE;
22 virtual bool IsStorageSessionOnly(const GURL& origin) OVERRIDE;
23 virtual bool CanQueryDiskSize(const GURL& origin) OVERRIDE;
25 virtual bool HasIsolatedStorage(const GURL& origin) OVERRIDE;
28 void AddProtected(const GURL& origin) {
29 protected_.insert(origin);
32 void AddUnlimited(const GURL& origin) {
33 unlimited_.insert(origin);
36 void RemoveUnlimited(const GURL& origin) {
    [all...]
special_storage_policy.h 35 virtual void OnGranted(const GURL& origin, int change_flags) = 0;
36 virtual void OnRevoked(const GURL& origin, int change_flags) = 0;
46 virtual bool IsStorageProtected(const GURL& origin) = 0;
49 virtual bool IsStorageUnlimited(const GURL& origin) = 0;
53 virtual bool CanQueryDiskSize(const GURL& origin) = 0;
59 // Checks if the origin contains per-site isolated storage.
60 virtual bool HasIsolatedStorage(const GURL& origin) = 0;
64 virtual bool IsStorageSessionOnly(const GURL& origin) = 0;
77 void NotifyGranted(const GURL& origin, int change_flags);
78 void NotifyRevoked(const GURL& origin, int change_flags)
    [all...]
  /external/chromium_org/chrome/common/
content_settings_helper.cc 14 std::string OriginToString(const GURL& origin) {
15 std::string port_component(origin.IntPort() != url_parse::PORT_UNSPECIFIED
16 ? ":" + origin.port()
18 std::string scheme_component(!origin.SchemeIs(content::kHttpScheme)
19 ? origin.scheme() +
22 return scheme_component + origin.host() + port_component;
25 base::string16 OriginToString16(const GURL& origin) {
26 return UTF8ToUTF16(OriginToString(origin));
content_settings_helper.h 16 // Return simplified string representing origin. If origin is using http or
18 std::string OriginToString(const GURL& origin);
19 base::string16 OriginToString16(const GURL& origin);
search_types.h 27 enum Origin {
38 SearchMode() : mode(MODE_DEFAULT), origin(ORIGIN_DEFAULT) {
41 SearchMode(Type in_mode, Origin in_origin)
43 origin(in_origin) {
47 return mode == rhs.mode && origin == rhs.origin;
75 return origin == ORIGIN_DEFAULT;
79 return origin == ORIGIN_SEARCH;
83 return origin == ORIGIN_NTP;
87 Origin origin member in struct:SearchMode
    [all...]
  /external/chromium_org/webkit/browser/fileapi/quota/
quota_reservation_manager.cc 24 const GURL& origin,
28 DCHECK(origin.is_valid());
29 backend_->ReserveQuota(origin, type, size, callback);
33 const GURL& origin,
36 DCHECK(origin.is_valid());
37 backend_->ReleaseReservedQuota(origin, type, size);
41 const GURL& origin,
44 DCHECK(origin.is_valid());
45 backend_->CommitQuotaUsage(origin, type, delta);
48 void QuotaReservationManager::IncrementDirtyCount(const GURL& origin,
    [all...]
  /external/chromium/net/ftp/
ftp_auth_cache.cc 15 FtpAuthCache::Entry::Entry(const GURL& origin,
18 : origin(origin),
29 FtpAuthCache::Entry* FtpAuthCache::Lookup(const GURL& origin) {
31 if (it->origin == origin)
37 void FtpAuthCache::Add(const GURL& origin, const string16& username,
39 DCHECK(origin.SchemeIs("ftp"));
40 DCHECK_EQ(origin.GetOrigin(), origin);
    [all...]
ftp_auth_cache.h 30 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_org/net/ftp/
ftp_auth_cache.cc 15 FtpAuthCache::Entry::Entry(const GURL& origin,
17 : origin(origin),
27 FtpAuthCache::Entry* FtpAuthCache::Lookup(const GURL& origin) {
29 if (it->origin == origin)
35 void FtpAuthCache::Add(const GURL& origin, const AuthCredentials& credentials) {
36 DCHECK(origin.SchemeIs("ftp"));
37 DCHECK_EQ(origin.GetOrigin(), origin);
    [all...]
ftp_auth_cache.h 30 Entry(const GURL& origin, const AuthCredentials& credentials);
33 GURL origin; member in struct:net::FtpAuthCache::Entry
40 // Return Entry corresponding to given |origin| or NULL if not found.
41 Entry* Lookup(const GURL& origin);
43 // Add an entry for |origin| to the cache using |credentials|. If there is
44 // already an entry for |origin|, it will be overwritten.
45 void Add(const GURL& origin, const AuthCredentials& credentials);
47 // Remove the entry for |origin| from the cache, if one exists and matches
49 void Remove(const GURL& origin, const AuthCredentials& credentials);
  /frameworks/base/core/java/android/webkit/
WebStorage.java 28 * Cache API can be attributed to an origin {@link WebStorage.Origin}, however
29 * it is not possible to set per-origin quotas. Note that there can be only
32 * The Web SQL Database API provides storage which is private to a given origin.
34 * to an origin. It is also possible to set per-origin quotas.
58 * currently used by an origin for the JavaScript storage APIs.
59 * An origin comprises the host, scheme and port of a URI.
62 public static class Origin {
68 protected Origin(String origin, long quota, long usage)
    [all...]
GeolocationPermissions.java 25 * Geolocation permissions are applied to an origin, which consists of the
27 * Geolocation API, permission must be granted for that content's origin.
29 * This class stores Geolocation permissions. An origin's permission state can
31 * an origin.
33 * When an origin attempts to use the Geolocation API, but no permission state
34 * is currently set for that origin,
36 * is called. This allows the permission state to be set for that origin.
47 * permission state for an origin.
51 * Sets the Geolocation permission state for the supplied origin.
53 * @param origin the origin for which permissions are se
    [all...]
  /external/chromium_org/chrome/browser/extensions/
mock_extension_special_storage_policy.cc 10 bool MockExtensionSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
11 return protected_.find(origin) != protected_.end();
14 bool MockExtensionSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
19 const GURL& origin) {
23 bool MockExtensionSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) {
mock_extension_special_storage_policy.h 22 virtual bool IsStorageProtected(const GURL& origin) OVERRIDE;
23 virtual bool IsStorageUnlimited(const GURL& origin) OVERRIDE;
24 virtual bool IsStorageSessionOnly(const GURL& origin) OVERRIDE;
25 virtual bool CanQueryDiskSize(const GURL& origin) OVERRIDE;
29 void AddProtected(const GURL& origin) {
30 protected_.insert(origin);
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
origin_operation_queue.cc 12 OriginOperation::OriginOperation(const GURL& origin, Type type)
13 : origin(origin), type(type) {}
19 void OriginOperationQueue::Push(const GURL& origin,
22 queue_.push_back(OriginOperation(origin, type));
32 bool OriginOperationQueue::HasPendingOperation(const GURL& origin) const {
38 if (iter->origin == origin)
  /external/chromium_org/net/http/
http_pipelined_host.cc 9 HttpPipelinedHost::Key::Key(const HostPortPair& origin)
10 : origin_(origin) {
  /external/chromium_org/content/public/browser/
load_notification_details.h 20 PageTransition origin,
27 origin(origin),
40 PageTransition origin; member in struct:content::LoadNotificationDetails
session_storage_usage_info.h 12 GURL origin; member in struct:content::SessionStorageUsageInfo
  /external/chromium_org/webkit/browser/fileapi/
sandbox_origin_database_interface.h 19 std::string origin; member in struct:fileapi::SandboxOriginDatabaseInterface::OriginRecord
23 OriginRecord(const std::string& origin, const base::FilePath& path);
29 // Returns true if the origin's path is included in this database.
30 virtual bool HasOriginPath(const std::string& origin) = 0;
34 virtual bool GetPathForOrigin(const std::string& origin,
37 // Removes the origin's path from the database.
38 // Returns success if the origin has been successfully removed, or
39 // the origin is not found.
41 virtual bool RemovePathForOrigin(const std::string& origin) = 0;
  /external/chromium_org/third_party/WebKit/Source/platform/weborigin/
OriginAccessEntry.cpp 60 OriginAccessEntry::MatchResult OriginAccessEntry::matchesOrigin(const SecurityOrigin& origin) const
62 ASSERT(origin.host() == origin.host().lower());
63 ASSERT(origin.protocol() == origin.protocol().lower());
65 if (m_protocol != origin.protocol())
73 if (m_host == origin.host())
85 if (origin.host().length() <= m_host.length() || origin.host()[origin.host().length() - m_host.length() - 1] != '.' || !origin.host().endsWith(m_host)
    [all...]

Completed in 369 milliseconds

1 2 3 4 5 6 7 8 91011>>