Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/durable_storage_permission_context.h" | |
| 6 | |
| 7 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | |
| 8 #include "chrome/browser/permissions/permission_request_id.h" | |
| 9 #include "content/public/browser/child_process_security_policy.h" | |
| 10 #include "url/gurl.h" | |
| 11 | |
| 12 DurableStoragePermissionContext::DurableStoragePermissionContext( | |
| 13 Profile* profile) | |
| 14 : PermissionContextBase(profile, CONTENT_SETTINGS_TYPE_DURABLE_STORAGE) { | |
| 15 } | |
| 16 | |
| 17 DurableStoragePermissionContext::~DurableStoragePermissionContext() { | |
| 18 } | |
|
mlamouri (slow - plz ping)
2015/08/05 13:54:55
nit: remove and use = default instead.
dgrogan
2015/08/07 20:11:43
Done.
| |
| 19 | |
| 20 bool DurableStoragePermissionContext::IsRestrictedToSecureOrigins() const { | |
| 21 return true; | |
| 22 } | |
| 23 | |
| OLD | NEW |