| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| 11 #include "net/base/cookie_monster.h" | 11 #include "net/base/cookie_monster.h" |
| 12 #include "webkit/appcache/appcache_service.h" | 12 #include "webkit/appcache/appcache_service.h" |
| 13 | 13 |
| 14 class CookieTreeNode; | 14 class CookieTreeNode; |
| 15 class CookiePromptModalDialog; | |
| 16 | 15 |
| 17 // This enum specifies the type of information contained in the | 16 // This enum specifies the type of information contained in the |
| 18 // cookie details. | 17 // cookie details. |
| 19 enum CocoaCookieDetailsType { | 18 enum CocoaCookieDetailsType { |
| 20 // Represents grouping of cookie data, used in the cookie tree. | 19 // Represents grouping of cookie data, used in the cookie tree. |
| 21 kCocoaCookieDetailsTypeFolder = 0, | 20 kCocoaCookieDetailsTypeFolder = 0, |
| 22 | 21 |
| 23 // Detailed information about a cookie, used both in the cookie | 22 // Detailed information about a cookie, used both in the cookie |
| 24 // tree and the cookie prompt. | 23 // tree and the cookie prompt. |
| 25 kCocoaCookieDetailsTypeCookie, | 24 kCocoaCookieDetailsTypeCookie, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 @private | 213 @private |
| 215 scoped_nsobject<CocoaCookieDetails> details_; | 214 scoped_nsobject<CocoaCookieDetails> details_; |
| 216 } | 215 } |
| 217 | 216 |
| 218 - (CocoaCookieDetails*)details; | 217 - (CocoaCookieDetails*)details; |
| 219 | 218 |
| 220 // The adapter assumes ownership of the details object | 219 // The adapter assumes ownership of the details object |
| 221 // in its initializer. | 220 // in its initializer. |
| 222 - (id)initWithDetails:(CocoaCookieDetails*)details; | 221 - (id)initWithDetails:(CocoaCookieDetails*)details; |
| 223 @end | 222 @end |
| 224 | |
| OLD | NEW |