Index: chrome/browser/ui/cocoa/collected_cookies_mac_unittest.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/collected_cookies_mac_unittest.mm (revision 71852) |
+++ chrome/browser/ui/cocoa/collected_cookies_mac_unittest.mm (working copy) |
@@ -1,38 +0,0 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#import <Cocoa/Cocoa.h> |
- |
-#include "base/ref_counted.h" |
-#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/renderer_host/site_instance.h" |
-#include "chrome/browser/renderer_host/test/test_render_view_host.h" |
-#include "chrome/browser/tab_contents/test_tab_contents.h" |
-#import "chrome/browser/ui/cocoa/collected_cookies_mac.h" |
-#include "chrome/test/testing_profile.h" |
- |
-namespace { |
- |
-class CollectedCookiesWindowControllerTest : public RenderViewHostTestHarness { |
-}; |
- |
-TEST_F(CollectedCookiesWindowControllerTest, Construction) { |
- BrowserThread ui_thread(BrowserThread::UI, MessageLoop::current()); |
- // Create a test tab. SiteInstance will be deleted when tabContents is |
- // deleted. |
- SiteInstance* instance = |
- SiteInstance::CreateSiteInstance(profile_.get()); |
- TestTabContents* tabContents = new TestTabContents(profile_.get(), |
- instance); |
- CollectedCookiesWindowController* controller = |
- [[CollectedCookiesWindowController alloc] |
- initWithTabContents:tabContents]; |
- |
- [controller release]; |
- |
- delete tabContents; |
-} |
- |
-} // namespace |
- |