refactor: rename the atom directory to shell
This commit is contained in:
parent
4575a4aae3
commit
d7f07e8a80
631 changed files with 0 additions and 0 deletions
32
shell/browser/special_storage_policy.h
Normal file
32
shell/browser/special_storage_policy.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
// Copyright 2014 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 ATOM_BROWSER_SPECIAL_STORAGE_POLICY_H_
|
||||
#define ATOM_BROWSER_SPECIAL_STORAGE_POLICY_H_
|
||||
|
||||
#include "storage/browser/quota/special_storage_policy.h"
|
||||
|
||||
namespace atom {
|
||||
|
||||
class SpecialStoragePolicy : public storage::SpecialStoragePolicy {
|
||||
public:
|
||||
SpecialStoragePolicy();
|
||||
|
||||
// storage::SpecialStoragePolicy implementation.
|
||||
bool IsStorageProtected(const GURL& origin) override;
|
||||
bool IsStorageUnlimited(const GURL& origin) override;
|
||||
bool IsStorageDurable(const GURL& origin) override;
|
||||
bool HasIsolatedStorage(const GURL& origin) override;
|
||||
bool IsStorageSessionOnly(const GURL& origin) override;
|
||||
bool HasSessionOnlyOrigins() override;
|
||||
network::SessionCleanupCookieStore::DeleteCookiePredicate
|
||||
CreateDeleteCookieOnExitPredicate() override;
|
||||
|
||||
protected:
|
||||
~SpecialStoragePolicy() override;
|
||||
};
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_BROWSER_SPECIAL_STORAGE_POLICY_H_
|
Loading…
Add table
Add a link
Reference in a new issue