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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/url/
origin.cc 5 #include "url/origin.h"
11 Origin::Origin() : string_("null") {}
13 Origin::Origin(const std::string& origin) : string_(origin) {
14 DCHECK(origin == "null" || MatchPattern(origin, "?*://?*"));
15 DCHECK_GT(origin.size(), 0u)
    [all...]
origin_unittest.cc 6 #include "url/origin.h"
12 // Each test examines the Origin is constructed correctly without
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")
    [all...]
origin.h 14 // Origin represents a Web Origin serialized to a string.
16 class URL_EXPORT Origin {
18 Origin();
19 explicit Origin(const std::string& origin);
23 bool IsSameAs(const Origin& that) const {
  /external/chromium_org/content/public/browser/
service_worker_usage_info.cc 9 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin,
11 : origin(origin), scopes(scopes) {
14 ServiceWorkerUsageInfo::ServiceWorkerUsageInfo(const GURL& origin)
15 : origin(origin) {
service_worker_usage_info.h 15 // 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/
mock_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;
27 virtual bool HasIsolatedStorage(const GURL& origin) OVERRIDE;
30 void AddProtected(const GURL& origin) {
31 protected_.insert(origin);
34 void AddUnlimited(const GURL& origin) {
35 unlimited_.insert(origin);
38 void RemoveUnlimited(const GURL& origin) {
    [all...]
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...]
  /external/chromium_org/storage/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_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...]
  /external/chromium_org/components/cronet/android/test/assets/test/
success.txt.mock-http-headers 3 Access-Control-Allow-Origin: *
  /external/chromium_org/ppapi/tests/
test_case.html.mock-http-headers 3 Access-Control-Allow-Origin: *
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwGeolocationPermissions.java 32 * Set one origin to be allowed.
34 public void allow(String origin) {
35 String key = getOriginKey(origin);
42 * Set one origin to be denied.
44 public void deny(String origin) {
45 String key = getOriginKey(origin);
52 * Clear the stored permission for a particular origin.
54 public void clear(String origin) {
55 String key = getOriginKey(origin);
80 * Synchronous method to get if an origin is set to be allowed
128 String origin = GURLUtils.getOrigin(url); local
    [all...]
  /external/chromium_org/chrome/browser/resources/cryptotoken/
gstaticorigincheck.js 6 * @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 The origin
    [all...]
origincheck.js 6 * @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/chrome/browser/prerender/
prerender_histograms.cc 35 std::string GetHistogramName(Origin origin, uint8 experiment_id,
40 if (origin == ORIGIN_GWS_PRERENDER) {
50 switch (origin) {
78 bool OriginIsOmnibox(Origin origin) {
79 return origin == ORIGIN_OMNIBOX;
84 // Helper macros for experiment-based and origin-based histogram reporting.
88 #define PREFIXED_HISTOGRAM(histogram_name, origin, HISTOGRAM) \
89 PREFIXED_HISTOGRAM_INTERNAL(origin, GetCurrentExperimentId(),
    [all...]
prerender_histograms.h 47 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,
    [all...]
  /ndk/sources/host-tools/make-3.81/tests/scripts/functions/
origin 3 $description = "Test the origin function.";
5 $details = "This is a test of the origin function in gnu make.
24 av = $(foreach var, $(auto_var), $(origin $(var)) )
27 @echo $(origin undefined)
28 @echo $(origin CC)
29 @echo $(origin MAKETEST)
30 @echo $(origin MAKE)
31 @echo $(origin foo)
32 @echo $(origin CFLAGS)
33 @echo $(origin WHITE
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebSerializedOrigin.h 11 #include <url/origin.h>
18 // WebSerializedOrigin represents a serialized Web Origin specified in RFC6454.
25 WebSerializedOrigin(const url::Origin& origin) : m_string(WebString::fromUTF8(origin.string())) { }
26 operator url::Origin() const { return url::Origin(m_string.utf8()); }
  /frameworks/webview/chromium/java/com/android/webview/chromium/
WebStorageAdapter.java 42 Map<String, Origin> originsMap = new HashMap<String, Origin>();
44 Origin origin = new Origin(origins.mOrigins[i], origins.mQuotas[i],
47 // of Origin constructor.
49 originsMap.put(origins.mOrigins[i], origin);
57 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) {
58 mQuotaManagerBridge.getUsageForOrigin(origin, callback);
62 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback)
    [all...]
  /external/chromium_org/chrome/browser/services/gcm/
push_messaging_application_id.cc 12 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.spec() + kSeparator
    [all...]
  /external/chromium_org/chrome/browser/extensions/
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/content/shell/browser/
shell_notification_manager.cc 14 ShellNotificationManager::CheckPermission(const GURL& origin) {
16 permission_map_.find(origin);
24 const GURL& origin,
26 callback.Run(CheckPermission(origin));
30 const GURL& origin,
32 permission_map_[origin] = permission;
  /external/chromium_org/chrome/browser/notifications/
desktop_notification_profile_util.cc 32 Profile* profile, const GURL& origin) {
34 ContentSettingsPattern::FromURLNoWildcard(origin);
44 Profile* profile, const GURL& origin) {
46 ContentSettingsPattern::FromURLNoWildcard(origin);
64 Profile* profile, const GURL& origin) {
66 origin,
67 origin,
73 const GURL& origin) {
75 ContentSettingsPattern::FromURLNoWildcard(origin),
  /external/chromium_org/storage/browser/fileapi/
sandbox_isolated_origin_database.h 17 // This origin database implementation supports only one origin
24 // Initialize this database for |origin| which makes GetPathForOrigin return
27 const std::string& origin,
33 virtual bool HasOriginPath(const std::string& origin) OVERRIDE;
34 virtual bool GetPathForOrigin(const std::string& origin,
36 virtual bool RemovePathForOrigin(const std::string& origin) OVERRIDE;
42 const std::string& origin,
46 const std::string& origin() const { return origin_; } function in class:storage::SandboxIsolatedOriginDatabase
sandbox_origin_database_interface.h 19 std::string origin; member in struct:storage::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;

Completed in 424 milliseconds

1 2 3 4 5 6 7 8 91011>>