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

Side by Side Diff: chrome/browser/ui/cocoa/history_menu_bridge_unittest.mm

Issue 6260001: Cleanup: Remove unneeded chrome/browser/ui/browser.h usage.... (Closed) Base URL: svn://chrome-svn/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include <vector> 6 #include <vector>
7 7
8 #include "base/ref_counted_memory.h" 8 #include "base/ref_counted_memory.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/sys_string_conversions.h" 10 #include "base/sys_string_conversions.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/app/chrome_command_ids.h" 12 #include "chrome/app/chrome_command_ids.h"
13 #include "chrome/browser/cancelable_request.h" 13 #include "chrome/browser/cancelable_request.h"
14 #include "chrome/browser/sessions/tab_restore_service.h" 14 #include "chrome/browser/sessions/tab_restore_service.h"
15 #include "chrome/browser/ui/browser.h"
16 #include "chrome/browser/ui/cocoa/browser_test_helper.h" 15 #include "chrome/browser/ui/cocoa/browser_test_helper.h"
17 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" 16 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
18 #include "chrome/browser/ui/cocoa/history_menu_bridge.h" 17 #include "chrome/browser/ui/cocoa/history_menu_bridge.h"
19 #include "gfx/codec/png_codec.h" 18 #include "gfx/codec/png_codec.h"
20 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
22 #import "testing/gtest_mac.h" 21 #import "testing/gtest_mac.h"
23 22
24 namespace { 23 namespace {
25 24
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 // Pretend to be called back. 376 // Pretend to be called back.
378 GotFaviconData(item.icon_handle, true, bytes, false, GURL()); 377 GotFaviconData(item.icon_handle, true, bytes, false, GURL());
379 378
380 // Make sure the callback works. 379 // Make sure the callback works.
381 EXPECT_FALSE(item.icon_requested); 380 EXPECT_FALSE(item.icon_requested);
382 EXPECT_TRUE(item.icon.get()); 381 EXPECT_TRUE(item.icon.get());
383 EXPECT_TRUE([item.menu_item image]); 382 EXPECT_TRUE([item.menu_item image]);
384 } 383 }
385 384
386 } // namespace 385 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698