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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac_unittest.mm

Issue 7831051: content: Move collected cookies constrained window to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile failures for everyone\! Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698