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/history_menu_bridge.mm

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 #include "chrome/browser/ui/cocoa/history_menu_bridge.h" 5 #include "chrome/browser/ui/cocoa/history_menu_bridge.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/sys_string_conversions.h" 11 #include "base/sys_string_conversions.h"
12 #include "chrome/app/chrome_command_ids.h" // IDC_HISTORY_MENU 12 #include "chrome/app/chrome_command_ids.h" // IDC_HISTORY_MENU
13 #import "chrome/browser/app_controller_mac.h" 13 #import "chrome/browser/app_controller_mac.h"
14 #include "chrome/browser/history/page_usage_data.h" 14 #include "chrome/browser/history/page_usage_data.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/sessions/session_types.h" 16 #include "chrome/browser/sessions/session_types.h"
17 #include "chrome/browser/sessions/tab_restore_service_factory.h" 17 #include "chrome/browser/sessions/tab_restore_service_factory.h"
18 #import "chrome/browser/ui/cocoa/history_menu_cocoa_controller.h" 18 #import "chrome/browser/ui/cocoa/history_menu_cocoa_controller.h"
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 void HistoryMenuBridge::CancelFaviconRequest(HistoryItem* item) { 479 void HistoryMenuBridge::CancelFaviconRequest(HistoryItem* item) {
480 DCHECK(item); 480 DCHECK(item);
481 if (item->icon_requested) { 481 if (item->icon_requested) {
482 FaviconService* service = 482 FaviconService* service =
483 profile_->GetFaviconService(Profile::EXPLICIT_ACCESS); 483 profile_->GetFaviconService(Profile::EXPLICIT_ACCESS);
484 service->CancelRequest(item->icon_handle); 484 service->CancelRequest(item->icon_handle);
485 item->icon_requested = false; 485 item->icon_requested = false;
486 item->icon_handle = NULL; 486 item->icon_handle = NULL;
487 } 487 }
488 } 488 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698