Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 | 10 |
| 11 class CannedBrowsingDataAppCacheHelper; | 11 class CannedBrowsingDataAppCacheHelper; |
| 12 class CannedBrowsingDataCookieHelper; | 12 class CannedBrowsingDataCookieHelper; |
| 13 class CannedBrowsingDataDatabaseHelper; | 13 class CannedBrowsingDataDatabaseHelper; |
| 14 class CannedBrowsingDataFileSystemHelper; | 14 class CannedBrowsingDataFileSystemHelper; |
| 15 class CannedBrowsingDataIndexedDBHelper; | 15 class CannedBrowsingDataIndexedDBHelper; |
| 16 class CannedBrowsingDataLocalStorageHelper; | 16 class CannedBrowsingDataLocalStorageHelper; |
| 17 class CannedBrowsingDataServerBoundCertHelper; | 17 class CannedBrowsingDataChannelIDHelper; |
|
wtc
2014/07/01 19:50:49
List in alphabetical order.
Ryan Hamilton
2014/07/21 19:12:05
Done.
| |
| 18 class CookiesTreeModel; | 18 class CookiesTreeModel; |
| 19 class GURL; | 19 class GURL; |
| 20 class Profile; | 20 class Profile; |
| 21 | 21 |
| 22 class LocalSharedObjectsContainer { | 22 class LocalSharedObjectsContainer { |
| 23 public: | 23 public: |
| 24 explicit LocalSharedObjectsContainer(Profile* profile); | 24 explicit LocalSharedObjectsContainer(Profile* profile); |
| 25 ~LocalSharedObjectsContainer(); | 25 ~LocalSharedObjectsContainer(); |
| 26 | 26 |
| 27 // Empties the container. | 27 // Empties the container. |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 46 } | 46 } |
| 47 CannedBrowsingDataFileSystemHelper* file_systems() const { | 47 CannedBrowsingDataFileSystemHelper* file_systems() const { |
| 48 return file_systems_.get(); | 48 return file_systems_.get(); |
| 49 } | 49 } |
| 50 CannedBrowsingDataIndexedDBHelper* indexed_dbs() const { | 50 CannedBrowsingDataIndexedDBHelper* indexed_dbs() const { |
| 51 return indexed_dbs_.get(); | 51 return indexed_dbs_.get(); |
| 52 } | 52 } |
| 53 CannedBrowsingDataLocalStorageHelper* local_storages() const { | 53 CannedBrowsingDataLocalStorageHelper* local_storages() const { |
| 54 return local_storages_.get(); | 54 return local_storages_.get(); |
| 55 } | 55 } |
| 56 CannedBrowsingDataServerBoundCertHelper* server_bound_certs() const { | 56 CannedBrowsingDataChannelIDHelper* channel_ids() const { |
| 57 return server_bound_certs_.get(); | 57 return channel_ids_.get(); |
| 58 } | 58 } |
| 59 CannedBrowsingDataLocalStorageHelper* session_storages() const { | 59 CannedBrowsingDataLocalStorageHelper* session_storages() const { |
| 60 return session_storages_.get(); | 60 return session_storages_.get(); |
| 61 } | 61 } |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 scoped_refptr<CannedBrowsingDataAppCacheHelper> appcaches_; | 64 scoped_refptr<CannedBrowsingDataAppCacheHelper> appcaches_; |
| 65 scoped_refptr<CannedBrowsingDataCookieHelper> cookies_; | 65 scoped_refptr<CannedBrowsingDataCookieHelper> cookies_; |
| 66 scoped_refptr<CannedBrowsingDataDatabaseHelper> databases_; | 66 scoped_refptr<CannedBrowsingDataDatabaseHelper> databases_; |
| 67 scoped_refptr<CannedBrowsingDataFileSystemHelper> file_systems_; | 67 scoped_refptr<CannedBrowsingDataFileSystemHelper> file_systems_; |
| 68 scoped_refptr<CannedBrowsingDataIndexedDBHelper> indexed_dbs_; | 68 scoped_refptr<CannedBrowsingDataIndexedDBHelper> indexed_dbs_; |
| 69 scoped_refptr<CannedBrowsingDataLocalStorageHelper> local_storages_; | 69 scoped_refptr<CannedBrowsingDataLocalStorageHelper> local_storages_; |
| 70 scoped_refptr<CannedBrowsingDataServerBoundCertHelper> server_bound_certs_; | 70 scoped_refptr<CannedBrowsingDataChannelIDHelper> channel_ids_; |
|
wtc
2014/07/01 19:50:49
Nit: sort these data members in alphabetical order
Ryan Hamilton
2014/07/21 19:12:05
Done.
| |
| 71 scoped_refptr<CannedBrowsingDataLocalStorageHelper> session_storages_; | 71 scoped_refptr<CannedBrowsingDataLocalStorageHelper> session_storages_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer); | 73 DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 #endif // CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ | 76 #endif // CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ |
| OLD | NEW |