Chromium Code Reviews| Index: chrome/browser/durable_storage_permission_context.cc |
| diff --git a/chrome/browser/durable_storage_permission_context.cc b/chrome/browser/durable_storage_permission_context.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..388aeef680cb83ecbcf3c41d614d1423d8050283 |
| --- /dev/null |
| +++ b/chrome/browser/durable_storage_permission_context.cc |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/durable_storage_permission_context.h" |
| + |
| +#include "chrome/browser/content_settings/tab_specific_content_settings.h" |
| +#include "chrome/browser/permissions/permission_request_id.h" |
| +#include "content/public/browser/child_process_security_policy.h" |
| +#include "url/gurl.h" |
| + |
| +DurableStoragePermissionContext::DurableStoragePermissionContext( |
| + Profile* profile) |
| + : PermissionContextBase(profile, CONTENT_SETTINGS_TYPE_DURABLE_STORAGE) { |
| +} |
| + |
| +bool DurableStoragePermissionContext::IsRestrictedToSecureOrigins() const { |
| + return true; |
| +} |
| + |
|
jochen (gone - plz use gerrit)
2015/08/12 16:29:03
no empty line
dgrogan
2015/08/12 19:09:14
Done.
|