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

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

Issue 6043: Added dangerous download prompting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_BACKEND_H__ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H__
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H__ 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H__
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 const GURL& page_url, 186 const GURL& page_url,
187 const GURL& icon_url); 187 const GURL& icon_url);
188 void SetFavIconOutOfDateForPage(const GURL& page_url); 188 void SetFavIconOutOfDateForPage(const GURL& page_url);
189 void SetImportedFavicons( 189 void SetImportedFavicons(
190 const std::vector<ImportedFavIconUsage>& favicon_usage); 190 const std::vector<ImportedFavIconUsage>& favicon_usage);
191 191
192 // Downloads ----------------------------------------------------------------- 192 // Downloads -----------------------------------------------------------------
193 193
194 void QueryDownloads(scoped_refptr<DownloadQueryRequest> request); 194 void QueryDownloads(scoped_refptr<DownloadQueryRequest> request);
195 void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle); 195 void UpdateDownload(int64 received_bytes, int32 state, int64 db_handle);
196 void UpdateDownloadPath(const std::wstring& path, int64 db_handle);
196 void CreateDownload(scoped_refptr<DownloadCreateRequest> request, 197 void CreateDownload(scoped_refptr<DownloadCreateRequest> request,
197 const DownloadCreateInfo& info); 198 const DownloadCreateInfo& info);
198 void RemoveDownload(int64 db_handle); 199 void RemoveDownload(int64 db_handle);
199 void RemoveDownloadsBetween(const Time remove_begin, 200 void RemoveDownloadsBetween(const Time remove_begin,
200 const Time remove_end); 201 const Time remove_end);
201 void RemoveDownloads(const Time remove_end); 202 void RemoveDownloads(const Time remove_end);
202 void SearchDownloads(scoped_refptr<DownloadSearchRequest>, 203 void SearchDownloads(scoped_refptr<DownloadSearchRequest>,
203 const std::wstring& search_text); 204 const std::wstring& search_text);
204 205
205 // Segment usage ------------------------------------------------------------- 206 // Segment usage -------------------------------------------------------------
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // Use GetBookmarkService to access this, which makes sure the service is 483 // Use GetBookmarkService to access this, which makes sure the service is
483 // loaded. 484 // loaded.
484 BookmarkService* bookmark_service_; 485 BookmarkService* bookmark_service_;
485 486
486 DISALLOW_EVIL_CONSTRUCTORS(HistoryBackend); 487 DISALLOW_EVIL_CONSTRUCTORS(HistoryBackend);
487 }; 488 };
488 489
489 } // namespace history 490 } // namespace history
490 491
491 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H__ 492 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698