QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / chrome / browser / storage / durable_storage_permission_context.cc
blob68b5af8a96032c2271d5b58859a691a36655ad0f
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.
5 #include "chrome/browser/storage/durable_storage_permission_context.h"
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"
12 DurableStoragePermissionContext::DurableStoragePermissionContext(
13 Profile* profile)
14 : PermissionContextBase(profile, CONTENT_SETTINGS_TYPE_DURABLE_STORAGE) {
17 bool DurableStoragePermissionContext::IsRestrictedToSecureOrigins() const {
18 return true;