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

Side by Side Diff: chrome/browser/history/history_service.h

Issue 694843002: Remove NOTIFICATION_HISTORY_URLS_MODIFIED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 1 month 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 (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 #ifndef CHROME_BROWSER_HISTORY_HISTORY_SERVICE_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_SERVICE_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_SERVICE_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 // The |row| ID will be set to the value that is currently in effect in the 596 // The |row| ID will be set to the value that is currently in effect in the
597 // main history database. |redirects| is the list of redirects leading up to 597 // main history database. |redirects| is the list of redirects leading up to
598 // the URL. If we have a redirect chain A -> B -> C and user is visiting C, 598 // the URL. If we have a redirect chain A -> B -> C and user is visiting C,
599 // then |redirects[0]=B| and |redirects[1]=A|. If there are no redirects, 599 // then |redirects[0]=B| and |redirects[1]=A|. If there are no redirects,
600 // |redirects| is an empty vector. 600 // |redirects| is an empty vector.
601 void NotifyURLVisited(ui::PageTransition transition, 601 void NotifyURLVisited(ui::PageTransition transition,
602 const history::URLRow& row, 602 const history::URLRow& row,
603 const history::RedirectList& redirects, 603 const history::RedirectList& redirects,
604 base::Time visit_time); 604 base::Time visit_time);
605 605
606 // Notify all HistoryServiceObservers registered that URLs have been added or
607 // modified. |changed_urls| contains the list of affects URLs.
608 void NotifyURLsModified(const history::URLRows& changed_urls);
609
606 // Favicon ------------------------------------------------------------------- 610 // Favicon -------------------------------------------------------------------
607 611
608 // These favicon methods are exposed to the FaviconService. Instead of calling 612 // These favicon methods are exposed to the FaviconService. Instead of calling
609 // these methods directly you should call the respective method on the 613 // these methods directly you should call the respective method on the
610 // FaviconService. 614 // FaviconService.
611 615
612 // Used by FaviconService to get the favicon bitmaps from the history backend 616 // Used by FaviconService to get the favicon bitmaps from the history backend
613 // whose edge sizes most closely match |desired_sizes| for |icon_types|. If 617 // whose edge sizes most closely match |desired_sizes| for |icon_types|. If
614 // |desired_sizes| has a '0' entry, the largest favicon bitmap for 618 // |desired_sizes| has a '0' entry, the largest favicon bitmap for
615 // |icon_types| is returned. The returned FaviconBitmapResults will have at 619 // |icon_types| is returned. The returned FaviconBitmapResults will have at
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 897
894 history::DeleteDirectiveHandler delete_directive_handler_; 898 history::DeleteDirectiveHandler delete_directive_handler_;
895 899
896 // All vended weak pointers are invalidated in Cleanup(). 900 // All vended weak pointers are invalidated in Cleanup().
897 base::WeakPtrFactory<HistoryService> weak_ptr_factory_; 901 base::WeakPtrFactory<HistoryService> weak_ptr_factory_;
898 902
899 DISALLOW_COPY_AND_ASSIGN(HistoryService); 903 DISALLOW_COPY_AND_ASSIGN(HistoryService);
900 }; 904 };
901 905
902 #endif // CHROME_BROWSER_HISTORY_HISTORY_SERVICE_H_ 906 #endif // CHROME_BROWSER_HISTORY_HISTORY_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend_unittest.cc ('k') | chrome/browser/history/history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698