Searched refs:origin (Results 1 - 25 of 1627) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebSerializedOrigin.cpp12 WebSerializedOrigin::WebSerializedOrigin(const SecurityOrigin& origin) argument
13 : m_string(origin.toString())
/external/chromium_org/url/
H A Dorigin.cc5 #include "url/origin.h"
13 Origin::Origin(const std::string& origin) : string_(origin) { argument
14 DCHECK(origin == "null" || MatchPattern(origin, "?*://?*"));
15 DCHECK_GT(origin.size(), 0u);
16 DCHECK_NE(origin[origin.size() - 1], '/');
H A Dorigin_unittest.cc6 #include "url/origin.h"
15 Origin origin; local
16 EXPECT_EQ("null", origin.string());
20 Origin origin("null");
21 EXPECT_EQ("null", origin.string());
25 Origin origin("http://example.com:8080");
26 EXPECT_EQ("http://example.com:8080", origin.string());
30 Origin origin("wss://example2.com");
31 EXPECT_EQ("wss://example2.com", origin.string());
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_origin.cc36 const char* NameFromOrigin(Origin origin) { argument
37 DCHECK(static_cast<int>(origin) >= 0 &&
38 origin <= ORIGIN_MAX);
39 return kOriginNames[origin];
H A Dprerender_histograms.h47 void RecordPerceivedPageLoadTime(Origin origin,
55 void RecordPercentLoadDoneAtSwapin(Origin origin, double fraction) const;
59 void RecordPageLoadTimeNotSwappedIn(Origin origin,
65 void RecordTimeUntilUsed(Origin origin,
70 void RecordAbandonTimeUntilUsed(Origin origin,
74 void RecordPerSessionCount(Origin origin, int count) const;
77 void RecordTimeBetweenPrerenderRequests(Origin origin,
81 void RecordFinalStatus(Origin origin,
87 void RecordPrerender(Origin origin, const GURL& url);
90 void RecordPrerenderStarted(Origin origin) cons
[all...]
/external/chromium_org/content/public/browser/
H A Dservice_worker_usage_info.cc9 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin, argument
11 : origin(origin), scopes(scopes) {
14 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin) argument
15 : origin(origin) {
H A Dload_notification_details.h20 ui::PageTransition origin,
27 origin(origin),
40 ui::PageTransition origin; member in struct:content::LoadNotificationDetails
19 LoadNotificationDetails(const GURL& url, ui::PageTransition origin, base::TimeDelta load_time, NavigationController* controller, int session_index) argument
H A Dservice_worker_usage_info.h15 // Used to report per-origin storage info for registered Service Workers.
18 ServiceWorkerUsageInfo(const GURL& origin, const std::vector<GURL>& scopes);
19 ServiceWorkerUsageInfo(const GURL& origin);
23 // The origin this object is describing.
24 GURL origin; member in class:content::ServiceWorkerUsageInfo
26 // The set of all Service Worker registrations within this origin;
/external/chromium_org/content/public/test/
H A Dmock_special_storage_policy.cc15 bool MockSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { argument
16 return ContainsKey(protected_, origin);
19 bool MockSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) { argument
22 return ContainsKey(unlimited_, origin);
25 bool MockSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) { argument
26 return ContainsKey(session_only_, origin);
29 bool MockSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { argument
30 return ContainsKey(can_query_disk_size_, origin);
37 bool MockSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { argument
38 return ContainsKey(isolated_, origin);
[all...]
H A Dmock_special_storage_policy.h22 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;
27 virtual bool HasIsolatedStorage(const GURL& origin) OVERRIDE;
30 void AddProtected(const GURL& origin) { argument
31 protected_.insert(origin);
34 void AddUnlimited(const GURL& origin) { argument
35 unlimited_.insert(origin);
38 void RemoveUnlimited(const GURL& origin) { argument
42 AddSessionOnly(const GURL& origin) argument
46 GrantQueryDiskSize(const GURL& origin) argument
54 AddIsolated(const GURL& origin) argument
58 RemoveIsolated(const GURL& origin) argument
76 NotifyGranted(const GURL& origin, int change_flags) argument
80 NotifyRevoked(const GURL& origin, int change_flags) argument
[all...]
/external/chromium_org/chrome/browser/resources/cryptotoken/
H A Dgstaticorigincheck.js6 * @fileoverview Implements a check whether an origin is allowed to assert an
13 * Implements half of the app id policy: whether an origin is allowed to claim
14 * an app id. For checking whether the app id also lists the origin,
23 * Checks whether the origin is allowed to claim the app ids.
24 * @param {string} origin The origin claiming the app id.
28 GstaticOriginChecker.prototype.canClaimAppIds = function(origin, appIds) {
29 return Promise.resolve(appIds.every(this.checkAppId_.bind(this, origin)));
33 * Checks if a single appId can be asserted by the given origin.
34 * @param {string} origin Th
[all...]
H A Dorigincheck.js6 * @fileoverview Implements a check whether an origin is allowed to assert an
13 * Implements half of the app id policy: whether an origin is allowed to claim
14 * an app id. For checking whether the app id also lists the origin,
21 * Checks whether the origin is allowed to claim the app ids.
22 * @param {string} origin The origin claiming the app id.
26 OriginChecker.prototype.canClaimAppIds = function(origin, appIds) {};
/external/chromium_org/extensions/shell/browser/
H A Dshell_special_storage_policy.cc15 bool ShellSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { argument
19 bool ShellSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) { argument
23 bool ShellSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) { argument
27 bool ShellSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { argument
39 bool ShellSpecialStoragePolicy::HasIsolatedStorage(const GURL& origin) { argument
H A Dshell_special_storage_policy.h19 virtual bool IsStorageProtected(const GURL& origin) OVERRIDE;
20 virtual bool IsStorageUnlimited(const GURL& origin) OVERRIDE;
21 virtual bool IsStorageSessionOnly(const GURL& origin) OVERRIDE;
22 virtual bool CanQueryDiskSize(const GURL& origin) OVERRIDE;
24 virtual bool HasIsolatedStorage(const GURL& origin) OVERRIDE;
/external/chromium_org/storage/browser/fileapi/quota/
H A Dquota_reservation_manager.cc24 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, argument
23 ReserveQuota( const GURL& origin, FileSystemType type, int64 size, const ReserveQuotaCallback& callback) argument
32 ReleaseReservedQuota( const GURL& origin, FileSystemType type, int64 size) argument
40 CommitQuotaUsage( const GURL& origin, FileSystemType type, int64 delta) argument
54 DecrementDirtyCount(const GURL& origin, FileSystemType type) argument
61 GetReservationBuffer( const GURL& origin, FileSystemType type) argument
84 CreateReservation( const GURL& origin, FileSystemType type) argument
[all...]
/external/chromium_org/net/ftp/
H A Dftp_auth_cache.cc15 FtpAuthCache::Entry::Entry(const GURL& origin, argument
17 : origin(origin),
27 FtpAuthCache::Entry* FtpAuthCache::Lookup(const GURL& origin) { argument
29 if (it->origin == origin)
35 void FtpAuthCache::Add(const GURL& origin, const AuthCredentials& credentials) { argument
36 DCHECK(origin.SchemeIs("ftp"));
37 DCHECK_EQ(origin.GetOrigin(), origin);
51 Remove(const GURL& origin, const AuthCredentials& credentials) argument
[all...]
H A Dftp_auth_cache.h30 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);
/external/chromium_org/chrome/browser/extensions/
H A Dmock_extension_special_storage_policy.cc10 bool MockExtensionSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { argument
11 return protected_.find(origin) != protected_.end();
14 bool MockExtensionSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) { argument
19 const GURL& origin) {
23 bool MockExtensionSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { argument
18 IsStorageSessionOnly( const GURL& origin) argument
H A Dmock_extension_special_storage_policy.h22 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) { argument
30 protected_.insert(origin);
/external/chromium_org/chrome/browser/services/gcm/
H A Dpush_messaging_application_id.h24 : origin(GURL::EmptyGURL()), service_worker_registration_id(-1) {}
25 PushMessagingApplicationId(const GURL& origin, argument
27 : origin(origin),
33 const GURL origin; member in struct:gcm::PushMessagingApplicationId
H A Dpush_messaging_application_id.cc12 const char kSeparator = '#'; // Ok as only the origin of the url is used.
28 GURL origin = GURL(parts[1]);
29 if (!origin.is_valid() || origin.GetOrigin() != origin)
36 return PushMessagingApplicationId(origin, service_worker_registration_id);
40 return origin.is_valid() && origin.GetOrigin() == origin &&
46 origin
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell_notification_manager.cc14 ShellNotificationManager::CheckPermission(const GURL& origin) { argument
16 permission_map_.find(origin);
24 const GURL& origin,
26 callback.Run(CheckPermission(origin));
30 const GURL& origin,
32 permission_map_[origin] = permission;
23 RequestPermission( const GURL& origin, const base::Callback<void(blink::WebNotificationPermission)>& callback) argument
29 SetPermission( const GURL& origin, blink::WebNotificationPermission permission) argument
/external/chromium_org/chrome/common/
H A Dsearch_types.h38 SearchMode() : mode(MODE_DEFAULT), origin(ORIGIN_DEFAULT) {
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
/external/chromium_org/android_webview/browser/
H A Daw_browser_permission_request_delegate.h22 const GURL& origin,
26 const GURL& origin) = 0;
29 const GURL& origin,
32 virtual void CancelGeolocationPermissionRequests(const GURL& origin) = 0;
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DOriginAccessEntry.cpp60 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
[all...]

Completed in 427 milliseconds

1234567891011>>