| 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/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.h" | 10 #include "chrome/browser/ui/tab_contents/test_tab_contents.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 : ui_thread_(BrowserThread::UI, MessageLoopForUI::current()) { | 22 : ui_thread_(BrowserThread::UI, MessageLoopForUI::current()) { |
| 23 } | 23 } |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 content::TestBrowserThread ui_thread_; | 26 content::TestBrowserThread ui_thread_; |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 TEST_F(CollectedCookiesWindowControllerTest, Construction) { | 29 TEST_F(CollectedCookiesWindowControllerTest, Construction) { |
| 30 CollectedCookiesWindowController* controller = | 30 CollectedCookiesWindowController* controller = |
| 31 [[CollectedCookiesWindowController alloc] | 31 [[CollectedCookiesWindowController alloc] |
| 32 initWithTabContentsWrapper:tab_contents()]; | 32 initWithTabContents:tab_contents()]; |
| 33 | 33 |
| 34 [controller release]; | 34 [controller release]; |
| 35 } | 35 } |
| 36 | 36 |
| 37 } // namespace | 37 } // namespace |
| 38 | 38 |
| OLD | NEW |