Chromium Code Reviews| Index: chrome/browser/durable_storage_permission_context.h |
| diff --git a/chrome/browser/durable_storage_permission_context.h b/chrome/browser/durable_storage_permission_context.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..98138fade9220e52a30ed3e1b7a5fab2495fc7eb |
| --- /dev/null |
| +++ b/chrome/browser/durable_storage_permission_context.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2015 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. |
| + |
| +#ifndef CHROME_BROWSER_DURABLE_STORAGE_PERMISSION_CONTEXT_H_ |
| +#define CHROME_BROWSER_DURABLE_STORAGE_PERMISSION_CONTEXT_H_ |
| + |
| +#include "chrome/browser/permissions/permission_context_base.h" |
| + |
| +class GURL; |
| +class PermissionRequestID; |
|
mlamouri (slow - plz ping)
2015/08/05 13:54:55
nit: you don't seem to need these two forward decl
dgrogan
2015/08/07 20:11:44
Done.
|
| + |
| +class DurableStoragePermissionContext : public PermissionContextBase { |
| + public: |
| + explicit DurableStoragePermissionContext(Profile* profile); |
| + ~DurableStoragePermissionContext() override; |
|
mlamouri (slow - plz ping)
2015/08/05 13:54:55
nit: = default.
dgrogan
2015/08/07 20:11:44
Done.
|
| + bool IsRestrictedToSecureOrigins() const override; |
|
mlamouri (slow - plz ping)
2015/08/05 13:54:55
nit: add empty line
dgrogan
2015/08/07 20:11:44
Done.
|
| + |
| + private: |
| + |
|
mlamouri (slow - plz ping)
2015/08/05 13:54:55
nit: remove empty line
dgrogan
2015/08/07 20:11:44
Done.
|
| + DISALLOW_COPY_AND_ASSIGN(DurableStoragePermissionContext); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_DURABLE_STORAGE_PERMISSION_CONTEXT_H_ |