| 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/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h" | 9 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h" |
| 10 #include "chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h" | 10 #include "chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 : ui_thread_(BrowserThread::UI, MessageLoopForUI::current()) { | 21 : ui_thread_(BrowserThread::UI, MessageLoopForUI::current()) { |
| 22 } | 22 } |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 BrowserThread ui_thread_; | 25 BrowserThread ui_thread_; |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 TEST_F(CollectedCookiesWindowControllerTest, Construction) { | 28 TEST_F(CollectedCookiesWindowControllerTest, Construction) { |
| 29 CollectedCookiesWindowController* controller = | 29 CollectedCookiesWindowController* controller = |
| 30 [[CollectedCookiesWindowController alloc] | 30 [[CollectedCookiesWindowController alloc] |
| 31 initWithTabContents:contents()]; | 31 initWithTabContentsWrapper:contents_wrapper()]; |
| 32 | 32 |
| 33 [controller release]; | 33 [controller release]; |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // namespace | 36 } // namespace |
| 37 | 37 |
| OLD | NEW |