| OLD | NEW | 
|    1 // Copyright 2013 The Chromium Authors. All rights reserved. |    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 |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_WRAPPER_H_ |    5 #ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_WRAPPER_H_ | 
|    6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_WRAPPER_H_ |    6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_WRAPPER_H_ | 
|    7  |    7  | 
|    8 #include <map> |    8 #include <map> | 
|    9 #include <string> |    9 #include <string> | 
|   10  |   10  | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   47       service_manager::Connector* connector, |   47       service_manager::Connector* connector, | 
|   48       const base::FilePath& data_path, |   48       const base::FilePath& data_path, | 
|   49       const base::FilePath& local_partition_path, |   49       const base::FilePath& local_partition_path, | 
|   50       storage::SpecialStoragePolicy* special_storage_policy); |   50       storage::SpecialStoragePolicy* special_storage_policy); | 
|   51  |   51  | 
|   52   // DOMStorageContext implementation. |   52   // DOMStorageContext implementation. | 
|   53   void GetLocalStorageUsage( |   53   void GetLocalStorageUsage( | 
|   54       const GetLocalStorageUsageCallback& callback) override; |   54       const GetLocalStorageUsageCallback& callback) override; | 
|   55   void GetSessionStorageUsage( |   55   void GetSessionStorageUsage( | 
|   56       const GetSessionStorageUsageCallback& callback) override; |   56       const GetSessionStorageUsageCallback& callback) override; | 
 |   57   void DeleteLocalStorageForPhysicalOrigin(const GURL& origin) override; | 
|   57   void DeleteLocalStorage(const GURL& origin) override; |   58   void DeleteLocalStorage(const GURL& origin) override; | 
|   58   void DeleteSessionStorage(const SessionStorageUsageInfo& usage_info) override; |   59   void DeleteSessionStorage(const SessionStorageUsageInfo& usage_info) override; | 
|   59   void SetSaveSessionStorageOnDisk() override; |   60   void SetSaveSessionStorageOnDisk() override; | 
|   60   scoped_refptr<SessionStorageNamespace> RecreateSessionStorage( |   61   scoped_refptr<SessionStorageNamespace> RecreateSessionStorage( | 
|   61       const std::string& persistent_id) override; |   62       const std::string& persistent_id) override; | 
|   62   void StartScavengingUnusedSessionStorage() override; |   63   void StartScavengingUnusedSessionStorage() override; | 
|   63  |   64  | 
|   64   // Used by content settings to alter the behavior around |   65   // Used by content settings to alter the behavior around | 
|   65   // what data to keep and what data to discard at shutdown. |   66   // what data to keep and what data to discard at shutdown. | 
|   66   // The policy is not so straight forward to describe, see |   67   // The policy is not so straight forward to describe, see | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  103   std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; |  104   std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 
|  104  |  105  | 
|  105   scoped_refptr<DOMStorageContextImpl> context_; |  106   scoped_refptr<DOMStorageContextImpl> context_; | 
|  106  |  107  | 
|  107   DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageContextWrapper); |  108   DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageContextWrapper); | 
|  108 }; |  109 }; | 
|  109  |  110  | 
|  110 }  // namespace content |  111 }  // namespace content | 
|  111  |  112  | 
|  112 #endif  // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_WRAPPER_H_ |  113 #endif  // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_CONTEXT_WRAPPER_H_ | 
| OLD | NEW |