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

Side by Side Diff: chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm

Issue 24733003: Update defaults for InstantExtended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused. Created 7 years, 1 month 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) 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 #include "base/mac/scoped_nsobject.h" 5 #include "base/mac/scoped_nsobject.h"
6 #include "base/strings/sys_string_conversions.h" 6 #include "base/strings/sys_string_conversions.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/search/search.h" 9 #include "chrome/browser/search/search.h"
10 #include "chrome/browser/sync/glue/session_model_associator.h" 10 #include "chrome/browser/sync/glue/session_model_associator.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 substringToIndex:title_length - 1]; 185 substringToIndex:title_length - 1];
186 EXPECT_NSEQ(expected_substring, actual_substring); 186 EXPECT_NSEQ(expected_substring, actual_substring);
187 187
188 controller_.reset(); 188 controller_.reset();
189 fake_model_.reset(); 189 fake_model_.reset();
190 } 190 }
191 191
192 // Verify that |RecentTabsMenuModelDelegate| is deleted before the model 192 // Verify that |RecentTabsMenuModelDelegate| is deleted before the model
193 // it's observing. 193 // it's observing.
194 TEST_F(WrenchMenuControllerTest, RecentTabDeleteOrder) { 194 TEST_F(WrenchMenuControllerTest, RecentTabDeleteOrder) {
195 chrome::EnableInstantExtendedAPIForTesting();
196 [controller_ menuNeedsUpdate:[controller_ menu]]; 195 [controller_ menuNeedsUpdate:[controller_ menu]];
197 // If the delete order is wrong then the test will crash on exit. 196 // If the delete order is wrong then the test will crash on exit.
198 } 197 }
199 198
200 } // namespace 199 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm ('k') | chrome/browser/ui/omnibox/omnibox_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698