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

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

Issue 5753007: Make us save favicon in incognito mode if the url is bookmarked. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/fav_icon_helper.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 // For adding pages to history where no tracking information can be done. 206 // For adding pages to history where no tracking information can be done.
207 void AddPage(const GURL& url, history::VisitSource visit_source) { 207 void AddPage(const GURL& url, history::VisitSource visit_source) {
208 AddPage(url, NULL, 0, GURL(), PageTransition::LINK, 208 AddPage(url, NULL, 0, GURL(), PageTransition::LINK,
209 history::RedirectList(), visit_source, false); 209 history::RedirectList(), visit_source, false);
210 } 210 }
211 211
212 // All AddPage variants end up here. 212 // All AddPage variants end up here.
213 void AddPage(const history::HistoryAddPageArgs& add_page_args); 213 void AddPage(const history::HistoryAddPageArgs& add_page_args);
214 214
215 // Adds an entry for the specified url without creating a visit. Typically
216 // you'll use one of the AddPage variants. This should only be used in cases
217 // where you want to force adding an entry with no visits.
218 void AddPageNoVisit(const GURL& url);
brettw 2010/12/15 17:32:47 Maybe we should call this AddPageNoVisitForBookmar
sky 2010/12/15 18:00:46 Done.
219
215 // Sets the title for the given page. The page should be in history. If it 220 // Sets the title for the given page. The page should be in history. If it
216 // is not, this operation is ignored. This call will not update the full 221 // is not, this operation is ignored. This call will not update the full
217 // text index. The last title set when the page is indexed will be the 222 // text index. The last title set when the page is indexed will be the
218 // title in the full text index. 223 // title in the full text index.
219 void SetPageTitle(const GURL& url, const string16& title); 224 void SetPageTitle(const GURL& url, const string16& title);
220 225
221 // Indexing ------------------------------------------------------------------ 226 // Indexing ------------------------------------------------------------------
222 227
223 // Notifies history of the body text of the given recently-visited URL. 228 // Notifies history of the body text of the given recently-visited URL.
224 // If the URL was not visited "recently enough," the history system may 229 // If the URL was not visited "recently enough," the history system may
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 BookmarkService* bookmark_service_; 861 BookmarkService* bookmark_service_;
857 bool no_db_; 862 bool no_db_;
858 863
859 // True if needs top site migration. 864 // True if needs top site migration.
860 bool needs_top_sites_migration_; 865 bool needs_top_sites_migration_;
861 866
862 DISALLOW_COPY_AND_ASSIGN(HistoryService); 867 DISALLOW_COPY_AND_ASSIGN(HistoryService);
863 }; 868 };
864 869
865 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_ 870 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/fav_icon_helper.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698