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

Side by Side Diff: chrome/browser/jumplist_win.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm Created 6 years, 4 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) 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 "chrome/browser/jumplist_win.h" 5 #include "chrome/browser/jumplist_win.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/sessions/tab_restore_service.h" 22 #include "chrome/browser/sessions/tab_restore_service.h"
23 #include "chrome/browser/sessions/tab_restore_service_factory.h" 23 #include "chrome/browser/sessions/tab_restore_service_factory.h"
24 #include "chrome/browser/shell_integration.h" 24 #include "chrome/browser/shell_integration.h"
25 #include "chrome/common/chrome_constants.h" 25 #include "chrome/common/chrome_constants.h"
26 #include "chrome/common/chrome_switches.h" 26 #include "chrome/common/chrome_switches.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "components/favicon_base/favicon_types.h" 28 #include "components/favicon_base/favicon_types.h"
29 #include "components/history/core/browser/page_usage_data.h" 29 #include "components/history/core/browser/page_usage_data.h"
30 #include "content/public/browser/browser_thread.h" 30 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/notification_source.h" 31 #include "content/public/browser/notification_source.h"
32 #include "grit/chromium_strings.h"
33 #include "grit/generated_resources.h" 32 #include "grit/generated_resources.h"
34 #include "ui/base/l10n/l10n_util.h" 33 #include "ui/base/l10n/l10n_util.h"
35 #include "ui/gfx/codec/png_codec.h" 34 #include "ui/gfx/codec/png_codec.h"
36 #include "ui/gfx/favicon_size.h" 35 #include "ui/gfx/favicon_size.h"
37 #include "ui/gfx/icon_util.h" 36 #include "ui/gfx/icon_util.h"
38 #include "ui/gfx/image/image_family.h" 37 #include "ui/gfx/image/image_family.h"
39 #include "url/gurl.h" 38 #include "url/gurl.h"
40 39
41 using content::BrowserThread; 40 using content::BrowserThread;
42 41
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 463 }
465 464
466 void JumpList::CreateIconFiles(const ShellLinkItemList& item_list) { 465 void JumpList::CreateIconFiles(const ShellLinkItemList& item_list) {
467 for (ShellLinkItemList::const_iterator item = item_list.begin(); 466 for (ShellLinkItemList::const_iterator item = item_list.begin();
468 item != item_list.end(); ++item) { 467 item != item_list.end(); ++item) {
469 base::FilePath icon_path; 468 base::FilePath icon_path;
470 if (CreateIconFile((*item)->icon_data(), icon_dir_, &icon_path)) 469 if (CreateIconFile((*item)->icon_data(), icon_dir_, &icon_path))
471 (*item)->set_icon(icon_path.value(), 0); 470 (*item)->set_icon(icon_path.value(), 0);
472 } 471 }
473 } 472 }
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/media/media_stream_capture_indicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698