| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/ui/cocoa/cookies_window_controller.h" | 5 #import "chrome/browser/ui/cocoa/options/cookies_window_controller.h" |
| 6 | 6 |
| 7 #include <queue> | 7 #include <queue> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "app/l10n_util_mac.h" | 10 #include "app/l10n_util_mac.h" |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 12 #import "base/mac/mac_util.h" | 12 #import "base/mac/mac_util.h" |
| 13 #include "base/sys_string_conversions.h" | 13 #include "base/sys_string_conversions.h" |
| 14 #include "chrome/browser/browsing_data_remover.h" | 14 #include "chrome/browser/browsing_data_remover.h" |
| 15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 [icons_ addObject:rb.GetNativeImageNamed(IDR_BOOKMARK_BAR_FOLDER)]; | 439 [icons_ addObject:rb.GetNativeImageNamed(IDR_BOOKMARK_BAR_FOLDER)]; |
| 440 | 440 |
| 441 // Create the Cocoa model. | 441 // Create the Cocoa model. |
| 442 CookieTreeNode* root = static_cast<CookieTreeNode*>(treeModel_->GetRoot()); | 442 CookieTreeNode* root = static_cast<CookieTreeNode*>(treeModel_->GetRoot()); |
| 443 scoped_nsobject<CocoaCookieTreeNode> model( | 443 scoped_nsobject<CocoaCookieTreeNode> model( |
| 444 [[CocoaCookieTreeNode alloc] initWithNode:root]); | 444 [[CocoaCookieTreeNode alloc] initWithNode:root]); |
| 445 [self setCocoaTreeModel:model.get()]; // Takes ownership. | 445 [self setCocoaTreeModel:model.get()]; // Takes ownership. |
| 446 } | 446 } |
| 447 | 447 |
| 448 @end | 448 @end |
| OLD | NEW |