| 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 #ifndef CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_COOKIE_TREE_NODE_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_COOKIE_TREE_NODE_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 8 #include "chrome/browser/browsing_data/cookies_tree_model.h" | 11 #include "chrome/browser/browsing_data/cookies_tree_model.h" |
| 9 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h" | 12 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h" |
| 10 | 13 |
| 11 @interface CocoaCookieTreeNode : NSObject { | 14 @interface CocoaCookieTreeNode : NSObject { |
| 12 base::scoped_nsobject<NSString> title_; | 15 base::scoped_nsobject<NSString> title_; |
| 13 base::scoped_nsobject<NSMutableArray> children_; | 16 base::scoped_nsobject<NSMutableArray> children_; |
| 14 base::scoped_nsobject<CocoaCookieDetails> details_; | 17 base::scoped_nsobject<CocoaCookieDetails> details_; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 28 | 31 |
| 29 // |-mutableChildren| exists so that the CookiesTreeModelObserverBridge can | 32 // |-mutableChildren| exists so that the CookiesTreeModelObserverBridge can |
| 30 // operate on the children. Note that this lazily creates children. | 33 // operate on the children. Note that this lazily creates children. |
| 31 - (NSMutableArray*)mutableChildren; | 34 - (NSMutableArray*)mutableChildren; |
| 32 - (NSArray*)children; | 35 - (NSArray*)children; |
| 33 - (BOOL)isLeaf; | 36 - (BOOL)isLeaf; |
| 34 | 37 |
| 35 - (CocoaCookieDetails*)details; | 38 - (CocoaCookieDetails*)details; |
| 36 | 39 |
| 37 @end | 40 @end |
| 41 |
| 42 #endif // CHROME_BROWSER_UI_COCOA_CONTENT_SETTINGS_COOKIE_TREE_NODE_H_ |
| OLD | NEW |