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

Side by Side Diff: chrome/browser/cocoa/infobar_container_controller_unittest.mm

Issue 1519009: Delete unneeded scoped_nsautoreleasepool.h includes. (Closed)
Patch Set: Created 10 years, 8 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/scoped_nsautorelease_pool.h"
8 #include "base/scoped_nsobject.h" 7 #include "base/scoped_nsobject.h"
9 #include "chrome/browser/cocoa/browser_test_helper.h" 8 #include "chrome/browser/cocoa/browser_test_helper.h"
10 #import "chrome/browser/cocoa/cocoa_test_helper.h" 9 #import "chrome/browser/cocoa/cocoa_test_helper.h"
11 #import "chrome/browser/cocoa/infobar_container_controller.h" 10 #import "chrome/browser/cocoa/infobar_container_controller.h"
12 #include "chrome/browser/cocoa/infobar_test_helper.h" 11 #include "chrome/browser/cocoa/infobar_test_helper.h"
13 #import "chrome/browser/cocoa/view_resizer_pong.h" 12 #import "chrome/browser/cocoa/view_resizer_pong.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/platform_test.h" 14 #include "testing/platform_test.h"
16 15
17 namespace { 16 namespace {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 90
92 [controller_ addInfoBar:&alertDelegate animate:NO]; 91 [controller_ addInfoBar:&alertDelegate animate:NO];
93 [controller_ addInfoBar:&linkDelegate animate:NO]; 92 [controller_ addInfoBar:&linkDelegate animate:NO];
94 [controller_ addInfoBar:&confirmDelegate animate:NO]; 93 [controller_ addInfoBar:&confirmDelegate animate:NO];
95 EXPECT_EQ(3U, [[view subviews] count]); 94 EXPECT_EQ(3U, [[view subviews] count]);
96 95
97 [controller_ removeAllInfoBars]; 96 [controller_ removeAllInfoBars];
98 EXPECT_EQ(0U, [[view subviews] count]); 97 EXPECT_EQ(0U, [[view subviews] count]);
99 } 98 }
100 } // namespace 99 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/content_settings_dialog_controller_unittest.mm ('k') | chrome/browser/cocoa/tab_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698