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

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

Issue 6715024: fix spelling of comments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/history/history_types.h » ('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_EXPIRE_HISTORY_BACKEND_H_ 5 #ifndef CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_
6 #define CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ 6 #define CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // database will not be affected (the URL will have to be deleted later). 161 // database will not be affected (the URL will have to be deleted later).
162 // 162 //
163 // Assumes the archived database is not NULL. 163 // Assumes the archived database is not NULL.
164 URLID ArchiveOneURL(const URLRow& url_row); 164 URLID ArchiveOneURL(const URLRow& url_row);
165 165
166 // Deletes all the URLs in the given vector and handles their dependencies. 166 // Deletes all the URLs in the given vector and handles their dependencies.
167 // This will delete starred URLs 167 // This will delete starred URLs
168 void DeleteURLs(const std::vector<URLRow>& urls, 168 void DeleteURLs(const std::vector<URLRow>& urls,
169 DeleteDependencies* dependencies); 169 DeleteDependencies* dependencies);
170 170
171 // Expiration involves removing visits, then propogating the visits out from 171 // Expiration involves removing visits, then propagating the visits out from
172 // there and delete any orphaned URLs. These will be added to the deleted URLs 172 // there and delete any orphaned URLs. These will be added to the deleted URLs
173 // field of the dependencies and DeleteOneURL will handle deleting out from 173 // field of the dependencies and DeleteOneURL will handle deleting out from
174 // there. This function does not handle favicons. 174 // there. This function does not handle favicons.
175 // 175 //
176 // When a URL is not deleted and |archive| is not set, the last visit time and 176 // When a URL is not deleted and |archive| is not set, the last visit time and
177 // the visit and typed counts will be updated (we want to clear these when a 177 // the visit and typed counts will be updated (we want to clear these when a
178 // user is deleting history manually, but not when we're normally expiring old 178 // user is deleting history manually, but not when we're normally expiring old
179 // things from history). 179 // things from history).
180 // 180 //
181 // The visits in the given vector should have already been deleted from the 181 // The visits in the given vector should have already been deleted from the
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // Use GetBookmarkService to access this, which makes sure the service is 283 // Use GetBookmarkService to access this, which makes sure the service is
284 // loaded. 284 // loaded.
285 BookmarkService* bookmark_service_; 285 BookmarkService* bookmark_service_;
286 286
287 DISALLOW_COPY_AND_ASSIGN(ExpireHistoryBackend); 287 DISALLOW_COPY_AND_ASSIGN(ExpireHistoryBackend);
288 }; 288 };
289 289
290 } // namespace history 290 } // namespace history
291 291
292 #endif // CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ 292 #endif // CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/history_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698