OLD | NEW |
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/win/jumplist.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" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 void JumpList::TopSitesLoaded(history::TopSites* top_sites) { | 581 void JumpList::TopSitesLoaded(history::TopSites* top_sites) { |
582 } | 582 } |
583 | 583 |
584 void JumpList::TopSitesChanged(history::TopSites* top_sites, | 584 void JumpList::TopSitesChanged(history::TopSites* top_sites, |
585 ChangeReason change_reason) { | 585 ChangeReason change_reason) { |
586 top_sites->GetMostVisitedURLs( | 586 top_sites->GetMostVisitedURLs( |
587 base::Bind(&JumpList::OnMostVisitedURLsAvailable, | 587 base::Bind(&JumpList::OnMostVisitedURLsAvailable, |
588 weak_ptr_factory_.GetWeakPtr()), | 588 weak_ptr_factory_.GetWeakPtr()), |
589 false); | 589 false); |
590 } | 590 } |
OLD | NEW |