/external/chromium_org/content/browser/quota/ |
H A D | mock_quota_manager_proxy.cc | 40 QuotaClient::ID client_id, const GURL& origin, StorageType type) { 42 last_notified_origin_ = origin; 47 QuotaClient::ID client_id, const GURL& origin, 50 last_notified_origin_ = origin; 54 mock_manager()->UpdateUsage(origin, type, delta); 39 NotifyStorageAccessed( QuotaClient::ID client_id, const GURL& origin, StorageType type) argument 46 NotifyStorageModified( QuotaClient::ID client_id, const GURL& origin, StorageType type, int64 delta) argument
|
H A D | mock_quota_manager.cc | 18 const GURL& origin, 22 : origin(origin), 48 const GURL& origin, 51 StorageInfo& info = usage_and_quota_map_[std::make_pair(origin, type)]; 55 void MockQuotaManager::SetQuota(const GURL& origin, StorageType type, argument 57 usage_and_quota_map_[std::make_pair(origin, type)].quota = quota; 61 const GURL& origin, 65 origins_.push_back(OriginInfo(origin, type, quota_client_mask, modified)); 70 const GURL& origin, 17 OriginInfo( const GURL& origin, StorageType type, int quota_client_mask, base::Time modified) argument 47 GetUsageAndQuota( const GURL& origin, storage::StorageType type, const GetUsageAndQuotaCallback& callback) argument 60 AddOrigin( const GURL& origin, StorageType type, int quota_client_mask, base::Time modified) argument 69 OriginHasData( const GURL& origin, StorageType type, QuotaClient::ID quota_client) const argument 105 DeleteOriginData( const GURL& origin, StorageType type, int quota_client_mask, const StatusCallback& callback) argument 132 UpdateUsage( const GURL& origin, StorageType type, int64 delta) argument [all...] |
/external/chromium_org/storage/browser/fileapi/ |
H A D | 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;
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
H A D | MixedContentCheckerTest.cpp | 20 const char* origin; member in struct:blink::TestCase 35 const char* origin = cases[i].origin; local 39 KURL originUrl(KURL(), origin); local 42 EXPECT_EQ(expectation, MixedContentChecker::isMixedContent(securityOrigin.get(), targetUrl)) << "Origin: " << origin << ", Target: " << target << ", Expectation: " << expectation;
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_special_storage_policy.h | 31 virtual bool IsStorageProtected(const GURL& origin) OVERRIDE; 32 virtual bool IsStorageUnlimited(const GURL& origin) OVERRIDE; 33 virtual bool IsStorageSessionOnly(const GURL& origin) OVERRIDE; 34 virtual bool CanQueryDiskSize(const GURL& origin) OVERRIDE; 36 virtual bool HasIsolatedStorage(const GURL& origin) OVERRIDE; 47 // Returns the set of extensions protecting this origin. The caller does not 50 const GURL& origin); 61 bool Contains(const GURL& origin); 62 const extensions::ExtensionSet* ExtensionsContaining(const GURL& origin); 77 void NotifyGranted(const GURL& origin, in [all...] |
H A D | extension_special_storage_policy.cc | 36 bool ExtensionSpecialStoragePolicy::IsStorageProtected(const GURL& origin) { argument 37 if (origin.SchemeIs(extensions::kExtensionScheme)) 40 return protected_apps_.Contains(origin); 43 bool ExtensionSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) { argument 47 if (origin.SchemeIs(content::kChromeDevToolsScheme) && 48 origin.host() == chrome::kChromeUIDevToolsHost) 52 return unlimited_extensions_.Contains(origin); 55 bool ExtensionSpecialStoragePolicy::IsStorageSessionOnly(const GURL& origin) { argument 58 return cookie_settings_->IsCookieSessionOnly(origin); 61 bool ExtensionSpecialStoragePolicy::CanQueryDiskSize(const GURL& origin) { argument 86 HasIsolatedStorage(const GURL& origin) argument 97 ExtensionsProtectingOrigin( const GURL& origin) argument 197 NotifyGranted( const GURL& origin, int change_flags) argument 210 NotifyRevoked( const GURL& origin, int change_flags) argument 243 Contains( const GURL& origin) argument 249 ExtensionsContaining( const GURL& origin) argument [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | BestMatchSpec.java | 102 final CookieOrigin origin) throws MalformedCookieException { 106 if (origin == null) { 107 throw new IllegalArgumentException("Cookie origin may not be null"); 125 return getStrict().parse(helems, origin); 130 return getNetscape().parse(header, origin); 132 return getCompat().parse(helems, origin); 138 final CookieOrigin origin) throws MalformedCookieException { 142 if (origin == null) { 143 throw new IllegalArgumentException("Cookie origin may not be null"); 146 getStrict().validate(cookie, origin); 100 parse( final Header header, final CookieOrigin origin) argument 136 validate( final Cookie cookie, final CookieOrigin origin) argument 152 match(final Cookie cookie, final CookieOrigin origin) argument [all...] |
H A D | CookieSpecBase.java | 59 protected static String getDefaultPath(final CookieOrigin origin) { argument 60 String defaultPath = origin.getPath(); 72 protected static String getDefaultDomain(final CookieOrigin origin) { argument 73 return origin.getHost(); 76 protected List<Cookie> parse(final HeaderElement[] elems, final CookieOrigin origin) argument 87 cookie.setPath(getDefaultPath(origin)); 88 cookie.setDomain(getDefaultDomain(origin)); 108 public void validate(final Cookie cookie, final CookieOrigin origin) argument 113 if (origin == null) { 114 throw new IllegalArgumentException("Cookie origin ma 121 match(final Cookie cookie, final CookieOrigin origin) argument [all...] |
H A D | RFC2965Spec.java | 84 final String name, final String value, final CookieOrigin origin) { 86 cookie.setPath(getDefaultPath(origin)); 87 cookie.setDomain(getDefaultDomain(origin)); 92 final String name, final String value, final CookieOrigin origin) { 94 cookie.setPath(getDefaultPath(origin)); 95 cookie.setDomain(getDefaultDomain(origin)); 96 cookie.setPorts(new int [] { origin.getPort() }); 103 CookieOrigin origin) throws MalformedCookieException { 107 if (origin == null) { 108 throw new IllegalArgumentException("Cookie origin ma 83 createCookie( final String name, final String value, final CookieOrigin origin) argument 91 createCookie2( final String name, final String value, final CookieOrigin origin) argument 101 parse( final Header header, CookieOrigin origin) argument 158 validate(final Cookie cookie, CookieOrigin origin) argument 171 match(final Cookie cookie, CookieOrigin origin) argument 223 adjustEffectiveHost(final CookieOrigin origin) argument [all...] |
H A D | BasicSecureHandler.java | 59 public boolean match(final Cookie cookie, final CookieOrigin origin) { argument 63 if (origin == null) { 64 throw new IllegalArgumentException("Cookie origin may not be null"); 66 return !cookie.isSecure() || origin.isSecure();
|
/external/chromium_org/storage/browser/quota/ |
H A D | quota_manager_proxy.cc | 52 const GURL& origin, 58 origin, type)); 63 manager_->NotifyStorageAccessed(client_id, origin, type); 68 const GURL& origin, 75 origin, type, delta)); 80 manager_->NotifyStorageModified(client_id, origin, type, delta); 84 const GURL& origin) { 88 base::Bind(&QuotaManagerProxy::NotifyOriginInUse, this, origin)); 93 manager_->NotifyOriginInUse(origin); 97 const GURL& origin) { 50 NotifyStorageAccessed( QuotaClient::ID client_id, const GURL& origin, StorageType type) argument 66 NotifyStorageModified( QuotaClient::ID client_id, const GURL& origin, StorageType type, int64 delta) argument 83 NotifyOriginInUse( const GURL& origin) argument 96 NotifyOriginNoLongerInUse( const GURL& origin) argument 109 SetUsageCacheEnabled(QuotaClient::ID client_id, const GURL& origin, StorageType type, bool enabled) argument 124 GetUsageAndQuota( base::SequencedTaskRunner* original_task_runner, const GURL& origin, StorageType type, const GetUsageAndQuotaCallback& callback) argument [all...] |
H A D | storage_observer.cc | 15 StorageObserver::Filter::Filter(StorageType storage_type, const GURL& origin) argument 16 : storage_type(storage_type), origin(origin) { 21 origin == other.origin; 32 const GURL& origin, 35 : filter(storage_type, origin), 30 MonitorParams( StorageType storage_type, const GURL& origin, const base::TimeDelta& rate, bool get_initial_state) argument
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/ |
H A D | menu-view.js | 43 function convert(origin, target) { 44 target.label = origin.name; 45 target.id = origin.id; 47 if ('children' in origin) { 49 origin.children.forEach(function(originChild) { 57 function merge(origin, target) { 58 if (!('children' in origin)) 61 target.children = origin.children; 65 origin.children.forEach(function(child) {
|
/external/chromium_org/chrome/browser/browsing_data/ |
H A D | browsing_data_helper.h | 35 static bool HasWebScheme(const GURL& origin); 39 static bool HasExtensionScheme(const GURL& origin); 41 // Returns true if the provided origin matches the provided mask. 42 static bool DoesOriginMatchMask(const GURL& origin,
|
/external/chromium_org/chrome/browser/resources/options/ |
H A D | origin_resources_list.js | 10 * Creates a new list item for the origin's data. 11 * @param {!Object} origin Data used to create the origin list item. 15 function OriginListItem(origin) { 17 el.origin_ = origin.origin; 18 el.usage_ = origin.usage; 19 el.usageString_ = origin.usageString; 20 el.readableName_ = origin.readableName; 33 this.className = 'deletable-item origin [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | confirm_bubble_controller.h | 28 origin:(CGPoint)origin 34 - (NSPoint)origin;
|
/external/chromium_org/components/content_settings/core/common/ |
H A D | permission_request_id.cc | 12 const GURL& origin) 16 origin_(origin) { 24 (origin_ == other.origin()); 9 PermissionRequestID(int render_process_id, int render_view_id, int bridge_id, const GURL& origin) argument
|
/external/chromium_org/storage/browser/fileapi/quota/ |
H A D | quota_backend_impl.cc | 36 void QuotaBackendImpl::ReserveQuota(const GURL& origin, argument 41 DCHECK(origin.is_valid()); 49 origin, 53 QuotaReservationInfo(origin, type, delta), 57 void QuotaBackendImpl::ReleaseReservedQuota(const GURL& origin, argument 61 DCHECK(origin.is_valid()); 65 ReserveQuotaInternal(QuotaReservationInfo(origin, type, -size)); 68 void QuotaBackendImpl::CommitQuotaUsage(const GURL& origin, argument 72 DCHECK(origin.is_valid()); 75 ReserveQuotaInternal(QuotaReservationInfo(origin, typ 83 IncrementDirtyCount(const GURL& origin, FileSystemType type) argument 94 DecrementDirtyCount(const GURL& origin, FileSystemType type) argument 150 GetUsageCachePath( const GURL& origin, FileSystemType type, base::FilePath* usage_file_path) argument 164 QuotaReservationInfo( const GURL& origin, FileSystemType type, int64 delta) argument [all...] |
H A D | quota_reservation_manager.h | 44 // Reserves or reclaims |delta| of quota for |origin| and |type| pair. 50 virtual void ReserveQuota(const GURL& origin, 55 // Reclaims |size| of quota for |origin| and |type|. 56 virtual void ReleaseReservedQuota(const GURL& origin, 60 // Updates disk usage of |origin| and |type|. 62 virtual void CommitQuotaUsage(const GURL& origin, 66 virtual void IncrementDirtyCount(const GURL& origin, 68 virtual void DecrementDirtyCount(const GURL& origin, 79 // for |origin| and |type|. 81 const GURL& origin, [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_screen_position_client.cc | 18 gfx::Point origin_in_pixels = root_window->GetHost()->GetBounds().origin(); 52 gfx::Point origin = GetOrigin(root_window); local 53 point->Offset(origin.x(), origin.y()); 60 gfx::Point origin = GetOrigin(root_window); local 61 point->Offset(-origin.x(), -origin.y()); 89 gfx::Point origin = bounds.origin(); local 90 aura::Window::ConvertPointToTarget(window->parent(), root, &origin); [all...] |
/external/chromium_org/android_webview/native/permission/ |
H A D | permission_request_handler_unittest.cc | 18 const GURL& origin, int64 resources, base::Callback<void(bool)> callback) 19 : origin_(origin), 23 // Get the origin which initiated the permission request. 28 // Get the resources the origin wanted to access. 50 Permission(const GURL& origin, int64 resources) argument 51 : origin(origin), 53 GURL origin; member in struct:android_webview::TestPermissionRequestHandlerClient::Permission 144 const GURL& origin() { function in class:android_webview::PermissionRequestHandlerTest 181 EXPECT_EQ(origin(), handle 17 TestAwPermissionRequestDelegate( const GURL& origin, int64 resources, base::Callback<void(bool)> callback) argument [all...] |
/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_origin.h | 29 // Return a human-readable name for |origin|. 30 const char* NameFromOrigin(Origin origin);
|
/external/chromium_org/components/autofill/content/renderer/ |
H A D | test_password_autofill_agent.cc | 16 const blink::WebSecurityOrigin& origin) { 15 OriginCanAccessPasswordManager( const blink::WebSecurityOrigin& origin) argument
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_data_model.h | 22 AutofillDataModel(const std::string& guid, const std::string& origin); 40 std::string origin() const { return origin_; } function in class:autofill::AutofillDataModel 41 void set_origin(const std::string& origin) { origin_ = origin; } argument 47 // The origin of this data. This should be 51 // URL, identifying the origin for non-aggregated data, or 52 // (c) an empty string, indicating that the origin for this data is unknown.
|
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_cache_storage_manager.cc | 23 const GURL& origin) { 24 std::string origin_hash = base::SHA1HashString(origin.spec()); 72 const GURL& origin, 78 FindOrCreateServiceWorkerCacheManager(origin); 84 const GURL& origin, 90 FindOrCreateServiceWorkerCacheManager(origin); 96 const GURL& origin, 102 FindOrCreateServiceWorkerCacheManager(origin); 107 const GURL& origin, 113 FindOrCreateServiceWorkerCacheManager(origin); 22 ConstructOriginPath(const base::FilePath& root_path, const GURL& origin) argument 71 CreateCache( const GURL& origin, const std::string& cache_name, const ServiceWorkerCacheStorage::CacheAndErrorCallback& callback) argument 83 GetCache( const GURL& origin, const std::string& cache_name, const ServiceWorkerCacheStorage::CacheAndErrorCallback& callback) argument 95 HasCache( const GURL& origin, const std::string& cache_name, const ServiceWorkerCacheStorage::BoolAndErrorCallback& callback) argument 106 DeleteCache( const GURL& origin, const std::string& cache_name, const ServiceWorkerCacheStorage::BoolAndErrorCallback& callback) argument 117 EnumerateCaches( const GURL& origin, const ServiceWorkerCacheStorage::StringsAndErrorCallback& callback) argument 148 FindOrCreateServiceWorkerCacheManager( const GURL& origin) argument [all...] |