Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2485)

Unified Diff: chrome/browser/ui/cocoa/collected_cookies_mac_unittest.mm

Issue 6294008: [Mac] Organize some files into chrome/browser/ui/cocoa/content_settings/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
-

Powered by Google App Engine
This is Rietveld 408576698