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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/memory/scoped_nsobject.h" | 7 #include "base/memory/scoped_nsobject.h" |
8 #include "chrome/browser/browsing_data_database_helper.h" | 8 #include "chrome/browser/browsing_data_database_helper.h" |
9 #include "chrome/browser/browsing_data_indexed_db_helper.h" | 9 #include "chrome/browser/browsing_data_indexed_db_helper.h" |
10 #include "chrome/browser/browsing_data_local_storage_helper.h" | 10 #include "chrome/browser/browsing_data_local_storage_helper.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 - (NSString*)databaseDescription; | 155 - (NSString*)databaseDescription; |
156 - (NSString*)localStorageKey; | 156 - (NSString*)localStorageKey; |
157 - (NSString*)localStorageValue; | 157 - (NSString*)localStorageValue; |
158 - (NSString*)manifestURL; | 158 - (NSString*)manifestURL; |
159 | 159 |
160 // Used for folders in the cookie tree. | 160 // Used for folders in the cookie tree. |
161 - (id)initAsFolder; | 161 - (id)initAsFolder; |
162 | 162 |
163 // Used for cookie details in both the cookie tree and the cookie prompt dialog. | 163 // Used for cookie details in both the cookie tree and the cookie prompt dialog. |
164 - (id)initWithCookie:(const net::CookieMonster::CanonicalCookie*)treeNode | 164 - (id)initWithCookie:(const net::CookieMonster::CanonicalCookie*)treeNode |
165 origin:(NSString*)origin | |
166 canEditExpiration:(BOOL)canEditExpiration; | 165 canEditExpiration:(BOOL)canEditExpiration; |
167 | 166 |
168 // Used for database details in the cookie tree. | 167 // Used for database details in the cookie tree. |
169 - (id)initWithDatabase: | 168 - (id)initWithDatabase: |
170 (const BrowsingDataDatabaseHelper::DatabaseInfo*)databaseInfo; | 169 (const BrowsingDataDatabaseHelper::DatabaseInfo*)databaseInfo; |
171 | 170 |
172 // Used for local storage details in the cookie tree. | 171 // Used for local storage details in the cookie tree. |
173 - (id)initWithLocalStorage: | 172 - (id)initWithLocalStorage: |
174 (const BrowsingDataLocalStorageHelper::LocalStorageInfo*)localStorageInfo; | 173 (const BrowsingDataLocalStorageHelper::LocalStorageInfo*)localStorageInfo; |
175 | 174 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 @private | 212 @private |
214 scoped_nsobject<CocoaCookieDetails> details_; | 213 scoped_nsobject<CocoaCookieDetails> details_; |
215 } | 214 } |
216 | 215 |
217 - (CocoaCookieDetails*)details; | 216 - (CocoaCookieDetails*)details; |
218 | 217 |
219 // The adapter assumes ownership of the details object | 218 // The adapter assumes ownership of the details object |
220 // in its initializer. | 219 // in its initializer. |
221 - (id)initWithDetails:(CocoaCookieDetails*)details; | 220 - (id)initWithDetails:(CocoaCookieDetails*)details; |
222 @end | 221 @end |
OLD | NEW |