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

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

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/chrome_constants.h" 24 #include "chrome/common/chrome_constants.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "chrome/grit/generated_resources.h" 28 #include "chrome/grit/generated_resources.h"
29 #include "components/favicon/core/favicon_service.h" 29 #include "components/favicon/core/favicon_service.h"
30 #include "components/favicon_base/favicon_types.h" 30 #include "components/favicon_base/favicon_types.h"
31 #include "components/history/core/browser/history_service.h" 31 #include "components/history/core/browser/history_service.h"
32 #include "components/history/core/browser/page_usage_data.h" 32 #include "components/history/core/browser/page_usage_data.h"
33 #include "components/history/core/browser/top_sites.h" 33 #include "components/history/core/browser/top_sites.h"
34 #include "components/sessions/core/session_types.h"
34 #include "components/sessions/core/tab_restore_service.h" 35 #include "components/sessions/core/tab_restore_service.h"
35 #include "components/sessions/session_types.h"
36 #include "content/public/browser/browser_thread.h" 36 #include "content/public/browser/browser_thread.h"
37 #include "content/public/browser/notification_registrar.h" 37 #include "content/public/browser/notification_registrar.h"
38 #include "content/public/browser/notification_source.h" 38 #include "content/public/browser/notification_source.h"
39 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
40 #include "ui/gfx/codec/png_codec.h" 40 #include "ui/gfx/codec/png_codec.h"
41 #include "ui/gfx/favicon_size.h" 41 #include "ui/gfx/favicon_size.h"
42 #include "ui/gfx/icon_util.h" 42 #include "ui/gfx/icon_util.h"
43 #include "ui/gfx/image/image_family.h" 43 #include "ui/gfx/image/image_family.h"
44 #include "url/gurl.h" 44 #include "url/gurl.h"
45 45
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 void JumpList::TopSitesLoaded(history::TopSites* top_sites) { 531 void JumpList::TopSitesLoaded(history::TopSites* top_sites) {
532 } 532 }
533 533
534 void JumpList::TopSitesChanged(history::TopSites* top_sites, 534 void JumpList::TopSitesChanged(history::TopSites* top_sites,
535 ChangeReason change_reason) { 535 ChangeReason change_reason) {
536 top_sites->GetMostVisitedURLs( 536 top_sites->GetMostVisitedURLs(
537 base::Bind(&JumpList::OnMostVisitedURLsAvailable, 537 base::Bind(&JumpList::OnMostVisitedURLsAvailable,
538 weak_ptr_factory_.GetWeakPtr()), 538 weak_ptr_factory_.GetWeakPtr()),
539 false); 539 false);
540 } 540 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/window_controller_list.cc ('k') | chrome/browser/printing/print_preview_dialog_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698